summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-01-16 01:25:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-01-16 01:25:06 +0000
commit8740549c573adf52c1b73f720e1ca52d15f90979 (patch)
tree0dae1a4b29dfadc27530ea39292dac07ff89bff8 /scripts
parent9299345c7f5305cd29dedc3b30c74658370a6875 (diff)
downloadmtk-20170518-8740549c573adf52c1b73f720e1ca52d15f90979.zip
mtk-20170518-8740549c573adf52c1b73f720e1ca52d15f90979.tar.gz
mtk-20170518-8740549c573adf52c1b73f720e1ca52d15f90979.tar.bz2
mpc85xx: add a new 'spe_fpu' feature flag for the FPU used on freescale powerpc cpus The SPE FPU is ABI-incompatible with the regular powerpc FPU, this needs to be reflected in the toolchain target name. Fixes floating point crashes in user space
SVN-Revision: 25018
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/metadata.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index 37c0a51..9f06299 100755
--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -168,6 +168,7 @@ sub target_config_features(@) {
/cpiogz/ and $ret .= "\tselect USES_CPIOGZ\n";
/ubifs/ and $ret .= "\tselect USES_UBIFS\n";
/fpu/ and $ret .= "\tselect HAS_FPU\n";
+ /spe_fpu/ and $ret .= "\tselect HAS_SPE_FPU\n";
/ramdisk/ and $ret .= "\tselect USES_INITRAMFS\n";
/powerpc64/ and $ret .= "\tselect powerpc64\n";
/nommu/ and $ret .= "\tselect NOMMU\n";