diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-09-26 17:53:28 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-09-26 17:53:28 +0000 |
commit | 5f44d3ff1867d63975c18ab23b4b268df0a587da (patch) | |
tree | ec3a57beade90b3c08172405daf0d703749cccbd /include | |
parent | 7d2ec0b8d3a3a079f18c44106f6a00606d1e2dc9 (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.mk | 6 |
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 |