samples: Cosmetic improvements to powerpc-e500v2-linux-gnuspe

--enable-e500_double was valid but strange (the correct form is
--enable-e500-double). -Wa,-me500x2 was also misleading, it is
equivalent to Wa,-me500.  --enable-e500x2 --with-e500x2 did nothing as
they aren't used by the binutils configure script. Finally passing
-mfloat-gprs=double in CFLAGS is unnecessary because this is the default
when using -mcpu=8548. Correct these in the sample config.

Fixes #1867
Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
Chris Packham 2022-12-11 19:29:58 +13:00
parent db4b7179ed
commit dcb34c5a87

View File

@ -3,12 +3,12 @@ CT_ARCH_POWERPC=y
CT_ARCH_CPU="8548"
CT_ARCH_powerpc_ABI_SPE=y
CT_ARCH_FLOAT_SW=y
CT_TARGET_CFLAGS="-mfloat-gprs=double -Wa,-me500x2"
CT_TARGET_CFLAGS="-Wa,-me500"
CT_TARGET_VENDOR="e500v2"
CT_KERNEL_LINUX=y
CT_BINUTILS_EXTRA_CONFIG_ARRAY="--enable-spe=yes --enable-e500x2 --with-e500x2"
CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="--enable-e500_double"
CT_CC_GCC_EXTRA_CONFIG_ARRAY="--enable-e500_double"
CT_BINUTILS_EXTRA_CONFIG_ARRAY="--enable-spe=yes"
CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="--enable-e500-double"
CT_CC_GCC_EXTRA_CONFIG_ARRAY="--enable-e500-double"
# CT_CC_GCC_ENABLE_TARGET_OPTSPACE is not set
CT_CC_GCC_LDBL_128=y
CT_CC_LANG_CXX=y