From patchwork Thu Nov 6 19:23:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary.robertson@linaro.org X-Patchwork-Id: 40368 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3224B24687 for ; Thu, 6 Nov 2014 19:25:24 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id h11sf1030200wiw.11 for ; Thu, 06 Nov 2014 11:25:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:subject:precedence:reply-to :list-id:list-unsubscribe:list-archive:list-post:list-help :list-subscribe:mime-version:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=TYpOzdWA0Csaq56Ft5O+hNDKFSyIgiLkHIo/iSF0/HA=; b=CqeJ79HE9+++Gtmnh929K/+630glLn9fjZ43C6bVzkiz9UcFGwditOY8IwAlN0MmzZ 0tgqqFBpYu8GUCb9rYRS8BIvZWF9cfSpNCzyRTMVE8EN/VQodKtnK+LJxz88rb3q0San 4ZzpklBgfrYDiGSBEZebki8MZh5ACHNMHHF6RlmNyRN3DZBm8CgeLdI9iNXdvTrpGtjk MtQdOnv8OlaWGXykVA50JK0PAuw3LVXl030m49Sfu7taK50pyKqTXD+OBAoTel4SVz6E ijiWW69h38ukuTRUAgdbLsP50r33HCuDcmtTPv586Eko5AdpD3Ib53i/0+6CoNdC+Hlz g7Kg== X-Gm-Message-State: ALoCoQk8Rt2UkhX7nvQOLGF3p8tWZm1iLy+OLx/vlPTf/qPZA8u82JjdsgN24vIQZbi/vkVloC3M X-Received: by 10.112.142.36 with SMTP id rt4mr1035606lbb.3.1415301922910; Thu, 06 Nov 2014 11:25:22 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.234.132 with SMTP id ue4ls129501lac.100.gmail; Thu, 06 Nov 2014 11:25:22 -0800 (PST) X-Received: by 10.152.36.165 with SMTP id r5mr5864961laj.91.1415301922667; Thu, 06 Nov 2014 11:25:22 -0800 (PST) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id r1si12442802lae.109.2014.11.06.11.25.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Nov 2014 11:25:22 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by mail-la0-f48.google.com with SMTP id gq15so3163876lab.7 for ; Thu, 06 Nov 2014 11:25:22 -0800 (PST) X-Received: by 10.112.52.37 with SMTP id q5mr6922795lbo.32.1415301922551; Thu, 06 Nov 2014 11:25:22 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp95236lbc; Thu, 6 Nov 2014 11:25:21 -0800 (PST) X-Received: by 10.68.57.140 with SMTP id i12mr6486838pbq.115.1415301920870; Thu, 06 Nov 2014 11:25:20 -0800 (PST) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id qc5si6657602pac.236.2014.11.06.11.25.20 for ; Thu, 06 Nov 2014 11:25:20 -0800 (PST) Received-SPF: none (google.com: openembedded-devel-bounces@lists.openembedded.org does not designate permitted sender hosts) client-ip=140.211.169.62; Received: from mail.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 8281071FF3; Thu, 6 Nov 2014 19:25:16 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com [209.85.214.174]) by mail.openembedded.org (Postfix) with ESMTP id 26568717DB for ; Thu, 6 Nov 2014 19:23:38 +0000 (UTC) Received: by mail-ob0-f174.google.com with SMTP id uz6so1392551obc.19 for ; Thu, 06 Nov 2014 11:23:39 -0800 (PST) X-Received: by 10.202.52.135 with SMTP id b129mr1029988oia.126.1415301819593; Thu, 06 Nov 2014 11:23:39 -0800 (PST) Received: from honkintosh.cybertech.lan (65-120-133-114.dia.static.qwest.net. [65.120.133.114]) by mx.google.com with ESMTPSA id 2sm3016019obq.29.2014.11.06.11.23.38 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Nov 2014 11:23:38 -0800 (PST) From: "Gary S. Robertson" To: openembedded-devel@lists.openembedded.org Date: Thu, 6 Nov 2014 13:23:02 -0600 Message-Id: <1415301783-5342-3-git-send-email-gary.robertson@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1415301783-5342-1-git-send-email-gary.robertson@linaro.org> References: <1415301783-5342-1-git-send-email-gary.robertson@linaro.org> Subject: [oe] [PATCH 2/3] libhugetlbfs: Recognize all ix86 arches X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: gary.robertson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: "Gary S. Robertson" The makefile for libhugetlbfs recognized only i386 or x86_64 arch designators. Extended this to also recognize i486, i586, and i686 Signed-off-by: Gary S. Robertson --- ...01-libhugetlbfs-Recognize-all-ix86-arches.patch | 31 ++++++++++++++++++++ .../libhugetlbfs/libhugetlbfs_git.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/files/0001-libhugetlbfs-Recognize-all-ix86-arches.patch diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-libhugetlbfs-Recognize-all-ix86-arches.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-libhugetlbfs-Recognize-all-ix86-arches.patch new file mode 100644 index 0000000..4eade89 --- /dev/null +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-libhugetlbfs-Recognize-all-ix86-arches.patch @@ -0,0 +1,31 @@ +From fcb166479d3ccd9b79fd07e89b1ed2d8899b4391 Mon Sep 17 00:00:00 2001 +From: "Gary S. Robertson" +Date: Wed, 24 Sep 2014 15:27:31 -0500 +Subject: [libhugetlbfs][PATCH] Recognize all ix86 arches + +The makefile only recognized i386 or x86_64 arches. Added support +to recognize i486, i586, i686. + +Upstream Status: Submitted + +Signed-off-by: Gary S. Robertson +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 91502e1..0bfaee8 100644 +--- a/Makefile ++++ b/Makefile +@@ -71,7 +71,7 @@ ELF64 = aarch64elf + TMPLIB64 = lib64 + CUSTOM_LDSCRIPTS = no + else +-ifeq ($(ARCH),i386) ++ifneq (,$(filter i386 i486 i586 i686,$(ARCH))) + CC32 = $(CC) + ELF32 = elf_i386 + TMPLIB32 = lib +-- +1.7.9.5 + diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb index 737acb9..0af77f1 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb @@ -19,6 +19,7 @@ SRC_URI = "git://git.code.sf.net/p/libhugetlbfs/code \ file://0001-aarch64-fix-page-size-not-properly-computed.patch \ file://0001-replace-lib-lib64-hardcoded-values-by-LIBDIR32-LIBDI.patch \ file://0001-Extend-arm32-support-to-include-BE-variants.patch \ + file://0001-libhugetlbfs-Recognize-all-ix86-arches.patch \ " S = "${WORKDIR}/git"