[Buildroot] [PATCH] barebox: fix ARCH value for arm64

Baruch Siach baruch at tkos.co.il
Fri Aug 12 12:32:29 UTC 2016


Hi Raphael,

On Fri, Aug 12, 2016 at 01:11:26PM +0200, Raphael Poggi wrote:
> Signed-off-by: Raphael Poggi <poggi.raph at gmail.com>
> ---
>  boot/barebox/barebox.mk | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/boot/barebox/barebox.mk b/boot/barebox/barebox.mk
> index 832297e..b02751d 100644
> --- a/boot/barebox/barebox.mk
> +++ b/boot/barebox/barebox.mk
> @@ -61,6 +61,8 @@ else ifeq ($$(KERNEL_ARCH),x86_64)
>  $(1)_ARCH = x86
>  else ifeq ($$(KERNEL_ARCH),powerpc)
>  $(1)_ARCH = ppc
> +else ifeq ($$(KERNEL_ARCH), arm64)

Redundant space before "arm64".

Also, this is only applicable to version v2016.08.0 that adds initial support 
for aarch64 
(http://lists.infradead.org/pipermail/barebox/2016-August/027849.html). A user 
may set BR2_TARGET_BAREBOX_CUSTOM_VERSION to v2016.08.0+, so this may be 
applicable to Buildroot master.

baruch

> +$(1)_ARCH = arm
>  else
>  $(1)_ARCH = $$(KERNEL_ARCH)
>  endif

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -



More information about the buildroot mailing list