i386: properly define BR2_ARCH for all x86 subarchitectures
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 21 Apr 2016 19:52:45 +0000 (21:52 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 21 Apr 2016 21:05:28 +0000 (23:05 +0200)
We were not defining BR2_ARCH for two of the x86 subarchitecture,
which means the architecture part of the GNU_TARGET_NAME tuple was
empty, leading to weird build failures.

This commit fixes that by defining the appropriate values.

Fixes bug #8861.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
arch/Config.in.x86

index 4039db81765633f6b470f76803a5603aa22d6858..efa9567811765c36a52b52b3d4081265a9be8196 100644 (file)
@@ -226,6 +226,8 @@ config BR2_ARCH
        default "i686"          if BR2_x86_nocona && BR2_i386
        default "i686"          if BR2_x86_core2 && BR2_i386
        default "i686"          if BR2_x86_corei7 && BR2_i386
+       default "i686"          if BR2_x86_corei7_avx && BR2_i386
+       default "i686"          if BR2_x86_corei7_avx2 && BR2_i386
        default "i686"          if BR2_x86_atom && BR2_i386
        default "i686"          if BR2_x86_opteron && BR2_i386
        default "i686"          if BR2_x86_opteron_sse3 && BR2_i386