From dcb34c5a87f50387f864736d34bb018b3dae2939 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Sun, 11 Dec 2022 19:29:58 +1300 Subject: 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 --- samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'samples') diff --git a/samples/powerpc-e500v2-linux-gnuspe/crosstool.config b/samples/powerpc-e500v2-linux-gnuspe/crosstool.config index ef76f7dd..4a7a7a2b 100644 --- a/samples/powerpc-e500v2-linux-gnuspe/crosstool.config +++ b/samples/powerpc-e500v2-linux-gnuspe/crosstool.config @@ -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 -- cgit v1.2.3