aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-09-26 17:53:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-09-26 17:53:28 +0000
commit9f5f79d806bbdc3c834f9c05e26b99e82519a4c9 (patch)
treeec3a57beade90b3c08172405daf0d703749cccbd /include
parent19c76be50dee5aaf5ddd8a938e818b3288d742df (diff)
downloadupstream-9f5f79d806bbdc3c834f9c05e26b99e82519a4c9.tar.gz
upstream-9f5f79d806bbdc3c834f9c05e26b99e82519a4c9.tar.bz2
upstream-9f5f79d806bbdc3c834f9c05e26b99e82519a4c9.zip
build: unify powerpc target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38213 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/target.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/target.mk b/include/target.mk
index c27e9d3354..c3b4c52459 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -229,6 +229,12 @@ ifeq ($(DUMP),1)
CPU_CFLAGS_vfp = -mfpu=vfp -mfloat-abi=softfp
CPU_CFLAGS_vfp3 = -mfpu=vfp3-d16 -mfloat-abi=softfp
endif
+ ifeq ($(ARCH),powerpc)
+ CPU_CFLAGS_603e:=-mcpu=603e
+ CPU_CFLAGS_8540:=-mcpu=8540
+ CPU_CFLAGS_405:=-mcpu=405
+ CPU_CFLAGS_440:=-mcpu=440
+ endif
ifeq ($(ARCH),sparc)
CPU_TYPE = sparc
CPU_CFLAGS_ultrasparc = -mcpu=ultrasparc