Message ID | 1395388021-12469-1-git-send-email-fathi.boudra@linaro.org |
---|---|
State | Accepted |
Commit | 0b891265716c414ade29d587fc1a3c4ea7beadbe |
Headers | show
Return-Path: <patchwork-forward+bncBC54L36IZQBBB6W4V6MQKGQEIX3M3II@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 186AE203AB for <linaro@patches.linaro.org>; Fri, 21 Mar 2014 07:47:07 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wn1sf7593304obc.5 for <linaro@patches.linaro.org>; Fri, 21 Mar 2014 00:47:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version: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=r/eubFh2ukJtR88I2GHeekAUMoovq/QUsXLxd/qnbdo=; b=QroS2tpBaEKlDJn3jNPqX3XGPaN+fdZJ7fixEOaI3N6cIUixGVuxaMLdGiY7fJnsrQ rVI3GGOeMLm5fbZM2rbkUd39lW0CESG/NIeMO05MbIDlAro+AJgKgWDHpI8P2yXgF4JN q5UBE6Yy/IFAGvpx8B3rmge/cF3d0DDLHEwZeyQRwkstRLwruxyT0LnBvr8Z7cHxmIyM I1pwdChHWOnrvNKg2wt+9voVYxtDQcZotR7p5eW0JHqLh2jPcwI2JVwpF5WIeyog8KJC I186BKnKQioaEV4knejoYWuELD+/YcH3XCNprEDx5hJqsTEtEKp+cxv3yjJllAAOUhkN 4Q8Q== X-Gm-Message-State: ALoCoQmZ5aA5r2qbXV8syo+nQxTHaV6BLGe93F6g69zkeg9U4ukDPPKkc8blvYcR91S/RUK2Qniw X-Received: by 10.182.66.193 with SMTP id h1mr5508876obt.47.1395388026687; Fri, 21 Mar 2014 00:47:06 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.48.38 with SMTP id n35ls665874qga.68.gmail; Fri, 21 Mar 2014 00:47:06 -0700 (PDT) X-Received: by 10.221.40.10 with SMTP id to10mr19626925vcb.22.1395388026551; Fri, 21 Mar 2014 00:47:06 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id av10si987215ved.36.2014.03.21.00.47.06 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Mar 2014 00:47:06 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id id10so2173373vcb.26 for <patchwork-forward@linaro.org>; Fri, 21 Mar 2014 00:47:06 -0700 (PDT) X-Received: by 10.58.122.164 with SMTP id lt4mr36478527veb.2.1395388026377; Fri, 21 Mar 2014 00:47:06 -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.78.9 with SMTP id i9csp11541vck; Fri, 21 Mar 2014 00:47:06 -0700 (PDT) X-Received: by 10.112.56.148 with SMTP id a20mr504576lbq.44.1395388025085; Fri, 21 Mar 2014 00:47:05 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com [209.85.215.53]) by mx.google.com with ESMTPS id x2si3298649lad.117.2014.03.21.00.47.04 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Mar 2014 00:47:05 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.53 is neither permitted nor denied by best guess record for domain of fathi.boudra@linaro.org) client-ip=209.85.215.53; Received: by mail-la0-f53.google.com with SMTP id b8so1407560lan.12 for <patches@linaro.org>; Fri, 21 Mar 2014 00:47:04 -0700 (PDT) X-Received: by 10.112.94.229 with SMTP id df5mr4773747lbb.36.1395388024424; Fri, 21 Mar 2014 00:47:04 -0700 (PDT) Received: from localhost.localdomain (a91-152-78-194.elisa-laajakaista.fi. [91.152.78.194]) by mx.google.com with ESMTPSA id ml10sm2816686lbc.29.2014.03.21.00.47.03 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Mar 2014 00:47:03 -0700 (PDT) From: Fathi Boudra <fathi.boudra@linaro.org> To: openembedded-core@lists.openembedded.org Cc: Richard Purdie <richard.purdie@linuxfoundation.org>, Fathi Boudra <fathi.boudra@linaro.org> Subject: [PATCH v2] kernel-arch.bbclass: add arm64 support to U-Boot architecture map Date: Fri, 21 Mar 2014 09:47:01 +0200 Message-Id: <1395388021-12469-1-git-send-email-fathi.boudra@linaro.org> X-Mailer: git-send-email 1.8.1.2 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: fathi.boudra@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.181 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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass index 6a6ad91..bbcfa15 100644 --- a/meta/classes/kernel-arch.bbclass +++ b/meta/classes/kernel-arch.bbclass @@ -40,6 +40,7 @@ def map_uboot_arch(a, d): if re.match('p(pc|owerpc)(|64)', a): return 'ppc' elif re.match('i.86$', a): return 'x86' + elif re.match('arm64$', a): return 'arm' return a export UBOOT_ARCH = "${@map_uboot_arch(d.getVar('ARCH', True), d)}"
to define UBOOT_ARCH, we map kernel architectures to U-Boot architectures. In the case of arm64 kernel, we should map to arm U-boot architecture. This patch add the exception rule to the map_uboot_arch function. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> --- meta/classes/kernel-arch.bbclass | 1 + 1 file changed, 1 insertion(+)