From patchwork Sat Dec 27 17:22:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Kuster X-Patchwork-Id: 42633 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C15FE25B99 for ; Sat, 27 Dec 2014 17:26:43 +0000 (UTC) Received: by mail-la0-f72.google.com with SMTP id gq15sf7009325lab.11 for ; Sat, 27 Dec 2014 09:26:42 -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:in-reply-to:references:subject :precedence:reply-to:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=3ou0qhtr3ARfbHx6aVf8+qg+EDBfkx5pCw6WcbHKXjk=; b=UW1IDvD8llEYUJTc7K9ynm2FmOqOj+N+qxaaBvT0jpCE0eDMd/+U9+oksod30hxljQ vmDiFbEfL123jFIQhuAtAq7Kvunv10czDLcK9j0lF5YKksnlETNDaVnc+nADfnQHlSqH bzW4Oo9GFe9PiaPGckYE6XqqDlyRUbqlMsFaCfe+NWGPKb4JFZYuj+wm6VRKwhmn91er FXSFO1RTQM/PzGvEZyQgk8CD9/cwGOw9scH+0H2zyX5k1vcH8UrRzorMs5HrBplU7CJg 5QIzis2FdHfNG/+BtvzU+Ls+JYw8boWb2spgzDyYhWmKYhiHCFet7AZdxwNbq/bcUeWd GVMQ== X-Gm-Message-State: ALoCoQn+FqRApKpWZqAKhQCo+D4kz6BnHTt3Hs/+yv4tGaqDyjvwFN7ZIOkDk+qgAoIv5NttmiWX X-Received: by 10.194.95.132 with SMTP id dk4mr7738wjb.6.1419701202402; Sat, 27 Dec 2014 09:26:42 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.6.34 with SMTP id cr2ls1936066lad.30.gmail; Sat, 27 Dec 2014 09:26:41 -0800 (PST) X-Received: by 10.112.61.231 with SMTP id t7mr20991338lbr.60.1419701201917; Sat, 27 Dec 2014 09:26:41 -0800 (PST) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com. [2a00:1450:4010:c03::235]) by mx.google.com with ESMTPS id w3si31598090laj.11.2014.12.27.09.26.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 27 Dec 2014 09:26:41 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::235 as permitted sender) client-ip=2a00:1450:4010:c03::235; Received: by mail-la0-f53.google.com with SMTP id gm9so9662305lab.26 for ; Sat, 27 Dec 2014 09:26:41 -0800 (PST) X-Received: by 10.152.5.226 with SMTP id v2mr48582799lav.34.1419701201779; Sat, 27 Dec 2014 09:26:41 -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.142.69 with SMTP id ru5csp2383483lbb; Sat, 27 Dec 2014 09:26:40 -0800 (PST) X-Received: by 10.70.43.105 with SMTP id v9mr77525361pdl.158.1419701200038; Sat, 27 Dec 2014 09:26:40 -0800 (PST) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id df7si18912061pdb.154.2014.12.27.09.26.38; Sat, 27 Dec 2014 09:26:40 -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 2968F728B6; Sat, 27 Dec 2014 17:25:31 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by mail.openembedded.org (Postfix) with ESMTP id 8A7B5713B9 for ; Sat, 27 Dec 2014 17:22:47 +0000 (UTC) Received: by mail-pa0-f52.google.com with SMTP id eu11so14794071pac.39 for ; Sat, 27 Dec 2014 09:22:48 -0800 (PST) X-Received: by 10.66.164.234 with SMTP id yt10mr76338534pab.110.1419700968035; Sat, 27 Dec 2014 09:22:48 -0800 (PST) Received: from bigisland.hsd1.ca.comcast.net (c-76-20-92-207.hsd1.ca.comcast.net. [76.20.92.207]) by mx.google.com with ESMTPSA id fu1sm31202444pbb.91.2014.12.27.09.22.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 27 Dec 2014 09:22:46 -0800 (PST) From: Armin Kuster To: openembedded-devel@lists.openembedded.org, otavio@ossystems.com.br Date: Sat, 27 Dec 2014 09:22:05 -0800 Message-Id: <2b524c31f7b1750e7976284b099f24c9c196c876.1419700394.git.akuster808@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: Subject: [oe] [PATCH 18/27] libhugetlbfs: Make cross-devel 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-Original-Sender: akuster808@gmail.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::235 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (body hash did not verify) header.i=@; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: "Gary S. Robertson" In a non-native cross-development scenario, the Makefile only recognized i386 or x86_64 PC architectures. Extended this to also recognize i486, i586, and i686 Upstream Status: Accepted but not yet applied by libhugetlbfs project Signed-off-by: Gary S. Robertson Signed-off-by: Martin Jansa Signed-off-by: Armin Kuster --- .../0001-Makefile-Recognize-all-ix86-arches.patch | 32 ++++++++++++++++++++++ .../libhugetlbfs/libhugetlbfs_git.bb | 1 + 2 files changed, 33 insertions(+) create mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Makefile-Recognize-all-ix86-arches.patch diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Makefile-Recognize-all-ix86-arches.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Makefile-Recognize-all-ix86-arches.patch new file mode 100644 index 0000000..2718275 --- /dev/null +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Makefile-Recognize-all-ix86-arches.patch @@ -0,0 +1,32 @@ +From a0166583ba5f7b6a6d2de434f633126fb12c9d29 Mon Sep 17 00:00:00 2001 +From: "Gary S. Robertson" +Date: Wed, 24 Sep 2014 15:27:31 -0500 +Subject: [PATCH] Makefile: Recognize all ix86 arches + +In a non-native build scenario, the makefile +only recognized i386 or x86_64 arches. Added support +to recognize i486, i586, i686. + +Upstream Status: Accepted by libhugetlbfs project + +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 c2262ea..c906217 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-Makefile-Recognize-all-ix86-arches.patch \ " S = "${WORKDIR}/git"