mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 03:50:44 -09:00
uboot: fix ARCH for i386 and x86_64
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
8963207bf6
commit
9a730a92a3
@@ -72,9 +72,11 @@ UBOOT_BIN_IFT = $(UBOOT_BIN).ift
|
||||
endif
|
||||
|
||||
# The kernel calls AArch64 'arm64', but U-Boot calls it just 'arm', so
|
||||
# we have to special case it.
|
||||
# we have to special case it. Similar for i386/x86_64 -> x86
|
||||
ifeq ($(KERNEL_ARCH),arm64)
|
||||
UBOOT_ARCH = arm
|
||||
else ifneq ($(filter $(KERNEL_ARCH),i386 x86_64),)
|
||||
UBOOT_ARCH = x86
|
||||
else
|
||||
UBOOT_ARCH = $(KERNEL_ARCH)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user