uboot: arm64 arch build support
authorRonak Desai <ronak.desai@rockwellcollins.com>
Mon, 12 Oct 2015 18:53:16 +0000 (13:53 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 12 Oct 2015 19:59:44 +0000 (21:59 +0200)
commit4730df02cf236eefeaf00bec197e398ad12cfeaa
tree924dce3bf9c81cbd679fd5aef3e896adb31b495e
parent50963b165d574cf8b7aedf677c60ddb9fe851489
uboot: arm64 arch build support

For a 64bit arm architecture, Buildroot uses arm64 terminology and
from the top-level Makefile KERNEL_ARCH is set to arm64 which is then
passed to the uboot build.  This causes a compilation issue as uboot
uses the top-level system architecture as it's $(ARCH).  So
arch/$(ARCH)/Makefile doesn't work with arm64 unless we adjust the
arch.

[Thomas:
 - rewrap commit message text.
 - simplify comment in the code.]

Signed-off-by: Ronak Desai <ronak.desai@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
boot/uboot/uboot.mk