From patchwork Thu Mar 20 17:49:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fathi Boudra X-Patchwork-Id: 26752 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f200.google.com (mail-ob0-f200.google.com [209.85.214.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C2D5F202E0 for ; Thu, 20 Mar 2014 17:49:43 +0000 (UTC) Received: by mail-ob0-f200.google.com with SMTP id gq1sf4601330obb.11 for ; Thu, 20 Mar 2014 10:49:42 -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=NZYWaUBlb87gDzXBBgdvUEgaZEJpzExkbV9h7KfB9qSJ8zy4SKzQD5i0hp0CI0RODZ XSsyL50gFIUFVh5b5K2RyB0mdob9ATVRhZPd1dNQiKy1NHF+UFTCydTl5E7Yaaxg65ni sLImW3hzp2J5TXdDLN7ZZzcz44iRguOLYPq/OmaJdbg1DARR8a3lT68btyD9Y2Wnt6WS i/hn/Yes6QoM8rX8Vn4GkcEFoNpoCJrahqJACcUTbL8HG4zH6Kfvjok0QXDF9nWJQ5EI 8DUwxv5JLH0Kap0fmZ9mngR9vja6wNT5/KG7C0LpWqLKC+9tJQFs3eCks0ql1IlBBH2x +upA== X-Gm-Message-State: ALoCoQluxFSPUKJMsKgctsb+07ZClzwhH2mkCdvu9rywTvBJS6leGLffmnXd0RjvzCLHBBtQot61 X-Received: by 10.42.13.198 with SMTP id e6mr15443361ica.21.1395337782842; Thu, 20 Mar 2014 10:49:42 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.27.138 with SMTP id 10ls359004qgx.52.gmail; Thu, 20 Mar 2014 10:49:42 -0700 (PDT) X-Received: by 10.52.173.165 with SMTP id bl5mr20326748vdc.13.1395337782688; Thu, 20 Mar 2014 10:49:42 -0700 (PDT) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id ku5si379565vec.136.2014.03.20.10.49.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Mar 2014 10:49:42 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.171; Received: by mail-ve0-f171.google.com with SMTP id cz12so1342934veb.2 for ; Thu, 20 Mar 2014 10:49:42 -0700 (PDT) X-Received: by 10.58.238.35 with SMTP id vh3mr34266824vec.16.1395337782590; Thu, 20 Mar 2014 10:49:42 -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 i9csp407667vck; Thu, 20 Mar 2014 10:49:42 -0700 (PDT) X-Received: by 10.152.210.70 with SMTP id ms6mr30758040lac.5.1395337781567; Thu, 20 Mar 2014 10:49:41 -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 rl8si2065707lbb.98.2014.03.20.10.49.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Mar 2014 10:49:41 -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 b8so889563lan.12 for ; Thu, 20 Mar 2014 10:49:41 -0700 (PDT) X-Received: by 10.152.23.9 with SMTP id i9mr1453375laf.56.1395337780881; Thu, 20 Mar 2014 10:49:40 -0700 (PDT) Received: from localhost.localdomain (a91-152-78-194.elisa-laajakaista.fi. [91.152.78.194]) by mx.google.com with ESMTPSA id t3sm2354246laj.15.2014.03.20.10.49.39 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Mar 2014 10:49:40 -0700 (PDT) From: Fathi Boudra To: openembedded-core@lists.openembedded.org Cc: Richard Purdie , Fathi Boudra Subject: [PATCH] kernel-arch.bbclass: add arm64 support to U-Bootarchitecture map Date: Thu, 20 Mar 2014 19:49:35 +0200 Message-Id: <1395337775-26756-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.128.171 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: , 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 --- meta/classes/kernel-arch.bbclass | 1 + 1 file changed, 1 insertion(+) 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)}"