* [Buildroot] [PATCH 1/1] barebox: fix compilation on x86-64 architecture
@ 2015-03-04 14:50 Fabien Lahoudere
2015-03-04 21:11 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabien Lahoudere @ 2015-03-04 14:50 UTC (permalink / raw)
To: buildroot
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>
---
boot/barebox/barebox.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/boot/barebox/barebox.mk b/boot/barebox/barebox.mk
index 0fb7cec..626ff9a 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
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] barebox: fix compilation on x86-64 architecture
2015-03-04 14:50 [Buildroot] [PATCH 1/1] barebox: fix compilation on x86-64 architecture Fabien Lahoudere
@ 2015-03-04 21:11 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-03-04 21:11 UTC (permalink / raw)
To: buildroot
Dear Fabien Lahoudere,
On Wed, 4 Mar 2015 15:50:46 +0100, Fabien Lahoudere wrote:
> 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>
Applied, thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-04 21:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-04 14:50 [Buildroot] [PATCH 1/1] barebox: fix compilation on x86-64 architecture Fabien Lahoudere
2015-03-04 21:11 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox