From patchwork Tue Aug 12 18:32:58 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: 35307 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f200.google.com (mail-ig0-f200.google.com [209.85.213.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C5454203C5 for ; Tue, 12 Aug 2014 18:33:33 +0000 (UTC) Received: by mail-ig0-f200.google.com with SMTP id uq10sf26025922igb.11 for ; Tue, 12 Aug 2014 11:33:33 -0700 (PDT) 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: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=4rLZ7cos4JqyzJtPfnXrtisyWqwZh8guOs4K7R41YEI=; b=mFH5L+rzzqncOZN3v6VSOK8NP0LGjJFjRYQ3kOGChTO03KZCMDleUxWAyZBRA/ci9R nFC+kCspY6fLZC7qSeVfjndx5jZLpDrlLDc1GHCQUKGL0xZPGFYSInkt4KeB4CkXOm9R A2IScCqmbgANWp+/8Ev6C2KBO+H6ufbPvNuwESO4BSdChP10k7/7j8RJpBTRezOEnQY9 bJ6r9OhdCrsnCY9o8HYG+Z0jpx5iPLJHqetfOOO9/yEvUOp4JtBg8fpNgjPNb6Z1CpkI Bvs0ANrHe8HgTzIbOCFc0C05DRqdEu1/hjxdfbgoH59pHG0mJED2lWa2ilaO0XCTERXF UC9w== X-Gm-Message-State: ALoCoQli7XtBVk8xIjUv7vyif5z0/iwMBAyM2O+kOvDam+x0uKFvnS1ZwgYosL1XG+d/vTr8oAV0 X-Received: by 10.182.191.36 with SMTP id gv4mr854819obc.50.1407868413291; Tue, 12 Aug 2014 11:33:33 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.41.11 with SMTP id y11ls257909qgy.23.gmail; Tue, 12 Aug 2014 11:33:33 -0700 (PDT) X-Received: by 10.221.44.69 with SMTP id uf5mr5602197vcb.4.1407868413219; Tue, 12 Aug 2014 11:33:33 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id ww7si7163689vdc.98.2014.08.12.11.33.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Aug 2014 11:33:33 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id im17so13843691vcb.17 for ; Tue, 12 Aug 2014 11:33:33 -0700 (PDT) X-Received: by 10.220.166.207 with SMTP id n15mr2385790vcy.75.1407868413125; Tue, 12 Aug 2014 11:33:33 -0700 (PDT) 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.221.37.5 with SMTP id tc5csp270414vcb; Tue, 12 Aug 2014 11:33:32 -0700 (PDT) X-Received: by 10.69.31.234 with SMTP id kp10mr4101851pbd.138.1407868412096; Tue, 12 Aug 2014 11:33:32 -0700 (PDT) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id kr6si16665031pab.60.2014.08.12.11.33.31 for ; Tue, 12 Aug 2014 11:33:32 -0700 (PDT) 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 1524265C70; Tue, 12 Aug 2014 18:33:25 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by mail.openembedded.org (Postfix) with ESMTP id 2D9A765C70 for ; Tue, 12 Aug 2014 18:33:22 +0000 (UTC) Received: by mail-oi0-f50.google.com with SMTP id a141so6880716oig.23 for ; Tue, 12 Aug 2014 11:33:23 -0700 (PDT) X-Received: by 10.182.200.166 with SMTP id jt6mr6708045obc.1.1407868403095; Tue, 12 Aug 2014 11:33:23 -0700 (PDT) Received: from honkintosh.cybertech.lan (65-120-133-114.dia.static.qwest.net. [65.120.133.114]) by mx.google.com with ESMTPSA id ii12sm5016355obd.5.2014.08.12.11.33.21 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Aug 2014 11:33:21 -0700 (PDT) From: "Gary S. Robertson" To: openembedded-devel@lists.openembedded.org Date: Tue, 12 Aug 2014 13:32:58 -0500 Message-Id: <1407868378-26155-1-git-send-email-gary.robertson@linaro.org> X-Mailer: git-send-email 1.7.9.5 Subject: [oe] [meta-oe][master][PATCH] libhugetlbfs: Extend arm32 support to include BE variants 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.220.172 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" Upstream Status: Submitted This patch applies the same technique used by Koen Kool in the following patch which was accepted by the libhugetlbfs project: [0a4f6] Add aarch64_be_support 2014-03-31 10:52:37 It modifies the libhugetlbfs Makefile to mark all 32-bit arm architectures as supported by the libhugetlbfs build. Builds and successful functional tests have been performed for armv7a LE and BE runtime platforms. This patch replaces and renders obsolete the following patch: arm32-support.patch by: Chunrong Guo Signed-off-by: Gary S. Robertson --- ...tend-arm32-support-to-include-BE-variants.patch | 38 ++++++++++++++++++++ .../libhugetlbfs/files/arm32-support.patch | 29 --------------- .../libhugetlbfs/libhugetlbfs_git.bb | 2 +- 3 files changed, 39 insertions(+), 30 deletions(-) create mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Extend-arm32-support-to-include-BE-variants.patch delete mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Extend-arm32-support-to-include-BE-variants.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Extend-arm32-support-to-include-BE-variants.patch new file mode 100644 index 0000000..f6147cb --- /dev/null +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Extend-arm32-support-to-include-BE-variants.patch @@ -0,0 +1,38 @@ +From 5af6dec8764375ca4f13bd9fed96af090228351a Mon Sep 17 00:00:00 2001 +From: "Gary S. Robertson" +Date: Mon, 11 Aug 2014 11:06:04 -0500 +Subject: [libhugetlbfs][PATCH] Extend arm32 support to include BE variants + +This patch applies the same technique used by Koen Kool in the following patch +which was accepted by the libhugetlbfs project: + +[0a4f6] Add aarch64_be_support 2014-03-31 10:52:37 + +It modifies the libhugetlbfs Makefile to mark all 32-bit arm architectures +as supported by the libhugetlbfs build. Builds and successful functional +tests have been performed for armv7a LE and BE runtime platforms. + +This patch replaces and renders obsolete the following patch: +arm32-support.patch submitted by: Chunrong Guo + +Signed-off-by: Gary S. Robertson +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 91502e1..ba79607 100644 +--- a/Makefile ++++ b/Makefile +@@ -59,7 +59,7 @@ ELF32 = elf32ppclinux + TMPLIB32 = lib + CPPFLAGS += -DPPC_NO_SEGMENTS + else +-ifeq ($(ARCH),armv7l) ++ifneq (,$(findstring arm,$(ARCH))) + CC32 = $(CC) + TMPLIB32 = lib + ELF32 += armelf_linux_eabi +-- +1.7.9.5 + diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch deleted file mode 100644 index 96f162d..0000000 --- a/meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch +++ /dev/null @@ -1,29 +0,0 @@ -Upstream-Status: Submitted - -This patch adds support for arm32. - -Signed-off-by: Chunrong Guo - ---- a/Makefileold 2014-06-17 21:55:23.131058918 -0500 -+++ b/Makefile 2014-06-17 21:56:08.726098531 -0500 -@@ -59,6 +59,12 @@ - TMPLIB32 = lib - CPPFLAGS += -DPPC_NO_SEGMENTS - else -+ifeq ($(ARCH),arm) -+CC32 = $(CC) -+TMPLIB32 = lib -+ELF32 += armelf_linux_eabi -+CUSTOM_LDSCRIPTS = no -+else - ifeq ($(ARCH),armv7l) - CC32 = $(CC) - TMPLIB32 = lib -@@ -116,6 +122,7 @@ - endif - endif - endif -+endif - - ifdef CC32 - OBJDIRS += obj32 diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb index 315863d..851b050 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb @@ -17,7 +17,7 @@ SRC_URI = "git://git.code.sf.net/p/libhugetlbfs/code \ file://0001-aarch64-fix-cross-compilation.patch \ file://0001-aarch64-fix-page-size-not-properly-computed.patch \ file://0001-replace-lib-lib64-hardcoded-values-by-LIBDIR32-LIBDI.patch \ - file://arm32-support.patch \ + file://0001-Extend-arm32-support-to-include-BE-variants.patch \ " S = "${WORKDIR}/git"