summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-09-26 17:53:28 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-09-26 17:53:28 +0000
commit5f44d3ff1867d63975c18ab23b4b268df0a587da (patch)
treeec3a57beade90b3c08172405daf0d703749cccbd /include
parent7d2ec0b8d3a3a079f18c44106f6a00606d1e2dc9 (diff)
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