diff options
author | Lahoudere Fabien <fabienlahoudere.pro@gmail.com> | 2015-03-04 15:50:46 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-03-04 21:38:45 +0100 |
commit | f31f411883eca64eccff802a85f5c9c5a219ac6e (patch) | |
tree | b2caa73e9cfa4ed14a1b969faa41f80f3b8def74 | |
parent | 39e08b1dd3f843ea3f5e0a10b4e6eb4c267de270 (diff) | |
download | buildroot-f31f411883eca64eccff802a85f5c9c5a219ac6e.tar.gz buildroot-f31f411883eca64eccff802a85f5c9c5a219ac6e.zip |
barebox: fix compilation on x86-64 architecture
Barebox uses KERNEL_ARCH to derive BAREBOX_ARCH, but doesn't
currently handle the case of the x86-64 architecture. In this
case KERNEL_ARCH is x86_64, but BAREBOX_ARCH should be x86
nonetheless.
Signed-off-by: Fabien Lahoudere <fabienlahoudere.pro@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | boot/barebox/barebox.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/boot/barebox/barebox.mk b/boot/barebox/barebox.mk index b829ae7201..5809fb0297 100644 --- a/boot/barebox/barebox.mk +++ b/boot/barebox/barebox.mk @@ -41,6 +41,8 @@ endif ifeq ($(KERNEL_ARCH),i386) BAREBOX_ARCH = x86 +else ifeq ($(KERNEL_ARCH),x86_64) +BAREBOX_ARCH = x86 else ifeq ($(KERNEL_ARCH),powerpc) BAREBOX_ARCH = ppc else |