diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-01-30 06:28:37 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-30 11:40:41 +0000 |
commit | 7a51776a830167e43cbd185505f62f328704e271 (patch) | |
tree | 9c79eaf2e68d9d2646fed17551918587755ed489 /meta/conf/machine/qemuppc.conf | |
parent | 5174b53b33fe6b2f9d71f7c414e2c83bda9f6c94 (diff) | |
download | openembedded-core-7a51776a830167e43cbd185505f62f328704e271.tar.gz openembedded-core-7a51776a830167e43cbd185505f62f328704e271.tar.bz2 openembedded-core-7a51776a830167e43cbd185505f62f328704e271.zip |
gcc, qemuppc: Explicitly disable forcing SPE flags
G4 does not have SPE, so we make that explicit in the tune files and
since we emulate G4 when building Qemu, we ensure it for qemuppc as
well.
GCC config for powerpc-linux is made to include SPE by default which is
equivalent if the tripet was powerpc-linux*spe, this forces gcc to
configure assembler to enable -mspe by default, when we do that then the
kernel fails to compile with binutils 2.26, since newer assembler is
smart to detect the tlbia instructions are not compatible with SPE and
hence the kernel build breaks rightly. We configure the kernel for G4 as
well where it enables tlbia instrucitons rightly so because it thinks
its being configured for power4. So we keep the options but do not force
-mspe down to assembler as default.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/qemuppc.conf')
-rw-r--r-- | meta/conf/machine/qemuppc.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/machine/qemuppc.conf b/meta/conf/machine/qemuppc.conf index 85cbbf798d..bf0038ddba 100644 --- a/meta/conf/machine/qemuppc.conf +++ b/meta/conf/machine/qemuppc.conf @@ -5,6 +5,8 @@ require conf/machine/include/qemu.inc require conf/machine/include/tune-ppc7400.inc +TARGET_CC_KERNEL_ARCH = "-mno-spe" + KERNEL_IMAGETYPE = "vmlinux" SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1" |