From patchwork Fri Oct 18 14:09:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 21166 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f72.google.com (mail-pb0-f72.google.com [209.85.160.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1F58A202FF for ; Fri, 18 Oct 2013 14:09:25 +0000 (UTC) Received: by mail-pb0-f72.google.com with SMTP id rq2sf6078282pbb.11 for ; Fri, 18 Oct 2013 07:09:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=av9JEwpLiH77LGUq3GLTxBdBsqGhhi5xMP4BBpW1Krs=; b=VryJLj2esfBIuTFPwJPErYmv2Fx3r0t6dLiL4CSB00ja+7/QG01+AYVqaC8RebD76J ism0ocmUzrmloCeSGuCFxSBSON+BLcC37JpP+ZDrczybq7nGHgVoR7Rk6jjWjb9Fqz3c i9tRLnHd+be8tDdWQYmJtbA0jCw0cFb8sR4rr8OcrJqcqwzcOZVaCjsDzJdDzuAI1HtC hj2Cl9Dj6Ako18qxUzJ59xaw2426xNJ/olFIvQKaRPGh01O9rDNuvapjD9CjIrbmmfAZ yy2MgQkONs2Ot6T4WOAiJo2F5FtvpPBZmgr2m725ElHUW1HxARDDEcxddo8eR+owZ4TA y+cg== X-Received: by 10.68.190.8 with SMTP id gm8mr1155102pbc.7.1382105364682; Fri, 18 Oct 2013 07:09:24 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.35.10 with SMTP id d10ls1311941qej.19.gmail; Fri, 18 Oct 2013 07:09:24 -0700 (PDT) X-Received: by 10.52.98.66 with SMTP id eg2mr1307893vdb.24.1382105364528; Fri, 18 Oct 2013 07:09:24 -0700 (PDT) Received: from mail-vb0-f47.google.com (mail-vb0-f47.google.com [209.85.212.47]) by mx.google.com with ESMTPS id rl1si330841vcb.149.2013.10.18.07.09.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Oct 2013 07:09:24 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.47 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.47; Received: by mail-vb0-f47.google.com with SMTP id h10so1824521vbh.6 for ; Fri, 18 Oct 2013 07:09:24 -0700 (PDT) X-Gm-Message-State: ALoCoQmQoBvp6nK95cteVuBVRVGhsq8PgkqPUZ1ndReKudrBREhET7ARsWvSEpIalwXDgB8yZL2T X-Received: by 10.220.10.194 with SMTP id q2mr2226543vcq.2.1382105364422; Fri, 18 Oct 2013 07:09:24 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp38603vcz; Fri, 18 Oct 2013 07:09:23 -0700 (PDT) X-Received: by 10.112.42.68 with SMTP id m4mr2780608lbl.4.1382105363156; Fri, 18 Oct 2013 07:09:23 -0700 (PDT) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com [209.85.215.41]) by mx.google.com with ESMTPS id oo4si1307878lbb.21.2013.10.18.07.09.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Oct 2013 07:09:23 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.41 is neither permitted nor denied by best guess record for domain of anders.roxell@linaro.org) client-ip=209.85.215.41; Received: by mail-la0-f41.google.com with SMTP id el20so657813lab.0 for ; Fri, 18 Oct 2013 07:09:22 -0700 (PDT) X-Received: by 10.152.20.74 with SMTP id l10mr1413830lae.46.1382105362440; Fri, 18 Oct 2013 07:09:22 -0700 (PDT) Received: from localhost (c-853670d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.54.133]) by mx.google.com with ESMTPSA id ac2sm2022344lbc.10.2013.10.18.07.09.21 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 18 Oct 2013 07:09:21 -0700 (PDT) From: Anders Roxell To: openembedded-devel@lists.openembedded.org Cc: linaro-networking@linaro.org, patches@linaro.org, Anders Roxell Subject: [PATCH] libhugetlbfs: add support for armv7a Date: Fri, 18 Oct 2013 16:09:07 +0200 Message-Id: <1382105347-27538-1-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 1.8.1.2 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: anders.roxell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.47 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Signed-off-by: Anders Roxell --- meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb index 24480c3..4f1bfa4 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb @@ -20,10 +20,16 @@ SRC_URI = "git://git.code.sf.net/p/libhugetlbfs/code \ S = "${WORKDIR}/git" -COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64).*-linux*" +COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|arm|aarch64).*-linux*" +python __anonymous() { + if base_contains('TARGET_ARCH', 'arm', True, False, d): + d.setVar('ARCH', 'armv7l') + else: + d.setVar('ARCH', d.getVar('TARGET_ARCH')) +} -EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' BUILDTYPE=NATIVEONLY ${LIBARGS}" +EXTRA_OEMAKE = "'ARCH=${ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' BUILDTYPE=NATIVEONLY ${LIBARGS}" CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0" TARGET_CC_ARCH += "${LDFLAGS}"