All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kernel-arch.bbclass: add arm64 support to U-Bootarchitecture map
@ 2014-03-20 17:49 Fathi Boudra
  2014-03-20 21:01 ` Otavio Salvador
  0 siblings, 1 reply; 2+ messages in thread
From: Fathi Boudra @ 2014-03-20 17:49 UTC (permalink / raw)
  To: openembedded-core

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(+)

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)}"
-- 
1.8.1.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kernel-arch.bbclass: add arm64 support to U-Bootarchitecture map
  2014-03-20 17:49 [PATCH] kernel-arch.bbclass: add arm64 support to U-Bootarchitecture map Fathi Boudra
@ 2014-03-20 21:01 ` Otavio Salvador
  0 siblings, 0 replies; 2+ messages in thread
From: Otavio Salvador @ 2014-03-20 21:01 UTC (permalink / raw)
  To: Fathi Boudra; +Cc: Patches and discussions about the oe-core layer

On Thu, Mar 20, 2014 at 2:49 PM, Fathi Boudra <fathi.boudra@linaro.org> wrote:
> 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>

Short log typo.


-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-20 21:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-20 17:49 [PATCH] kernel-arch.bbclass: add arm64 support to U-Bootarchitecture map Fathi Boudra
2014-03-20 21:01 ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.