BR2_ARCH definition was missing for 32-bit AMD architecture variants.
PATCH 1/1 BR2_ARCH definition was missing for 32-bit AMD architecture variants.
From: "Arnout Vandecappelle (Essensium - Mind)" <[email protected]>
--- target/Config.in.arch | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)
target/Config.in.arch +7 -0
@@ -478,6 +478,13 @@ config BR2_ARCH default "i686" if BR2_x86_pentiumpro default "i686" if BR2_x86_nocona default "i686" if BR2_x86_core2 + default "i686" if BR2_x86_opteron + default "i686" if BR2_x86_opteron_sse3 + default "i686" if BR2_x86_barcelona + default "i686" if BR2_x86_k6 + default "i686" if BR2_x86_k6_2 + default "i686" if BR2_x86_athlon + default "i686" if BR2_x86_athlon_4 default "m68k" if BR2_m68k default "mips" if BR2_mips default "mipsel" if BR2_mipsel
Signature · 1 line
1.7.5.4
PATCH 1/1 BR2_ARCH definition was missing for 32-bit AMD architecture variants.
Hello,
Le Mon, 4 Jul 2011 16:37:20 +0200,
"Arnout Vandecappelle (Essensium - Mind)" <[email protected]> a ?crit :
Quoted 4 lines
target/Config.in.arch +0
-0@@ -478,6 +478,13 @@ config BR2_ARCH default "i686" if BR2_x86_pentiumpro default "i686" if BR2_x86_nocona default "i686" if BR2_x86_core2
target/Config.in.arch config BR2_ARCH · line 490
Quoted 10 lines
target/Config.in.arch +7
-0+ default "i686" if BR2_x86_opteron + default "i686" if BR2_x86_opteron_sse3 + default "i686" if BR2_x86_barcelona + default "i686" if BR2_x86_k6 + default "i686" if BR2_x86_k6_2 + default "i686" if BR2_x86_athlon + default "i686" if BR2_x86_athlon_4 default "m68k" if BR2_m68k default "mips" if BR2_mips default "mipsel" if BR2_mipsel
This whole BR2_ARCH thing is a little nasty. For some archs, there is a single entry (for example ARM), but for other archs (for example x86 or x86_64) there are multiple entries. I would be tempted to replace all the x86 entries by :
default "i386" if BR2_i386
but according to commit 6212c19a8fbe86bf6c9ab854bd9b0db4ecc8d5ba having different BR2_ARCH is needed :
"""
allow people to build for i386/i486/i586/i686 targets since some packages (like gcc) build differently based upon the host tuplet """
What do people think about this ?
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH 1/1 BR2_ARCH definition was missing for 32-bit AMD architecture variants.
In reply to Arnout Vandecappelle (Essensium - Mind)Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
""Arnout" == "Arnout Vandecappelle (Essensium <- Mind)" <[email protected]>> writes:
Arnout> From: "Arnout Vandecappelle (Essensium - Mind)" <[email protected]> Arnout> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard