diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-01-16 01:25:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-01-16 01:25:06 +0000 |
commit | a916879574b1ee0a0895bc05c240882c4711dc19 (patch) | |
tree | 3a4fa12615b83d460bc7e76c6d5ebf0fa9243644 /rules.mk | |
parent | e7a8ce19cfe645842bd05e5bb15512a673715341 (diff) | |
download | upstream-a916879574b1ee0a0895bc05c240882c4711dc19.tar.gz upstream-a916879574b1ee0a0895bc05c240882c4711dc19.tar.bz2 upstream-a916879574b1ee0a0895bc05c240882c4711dc19.zip |
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25018 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -69,6 +69,9 @@ endif ifneq ($(findstring -march=armv5te,$(TARGET_OPTIMIZATION)),) ARCH_SUFFIX:=_v5te endif +ifdef CONFIG_HAS_SPE_FPU + TARGET_SUFFIX:=$(TARGET_SUFFIX)spe +endif DL_DIR:=$(if $(call qstrip,$(CONFIG_DOWNLOAD_FOLDER)),$(call qstrip,$(CONFIG_DOWNLOAD_FOLDER)),$(TOPDIR)/dl) BIN_DIR:=$(TOPDIR)/bin/$(BOARD) |