diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-09-26 17:53:20 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-09-26 17:53:20 +0000 |
commit | 7631851b1fcc06d375423f3d405554db9fdb73f3 (patch) | |
tree | 3b06231fadc4377ff691cf2308f3b3ec17c8309b /include | |
parent | 83961aecda8f1d76a301b33712b72f9314079e8d (diff) |
build: unify arm target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38211 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/target.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/target.mk b/include/target.mk index f9f378a8d8..8c427c0c4f 100644 --- a/include/target.mk +++ b/include/target.mk @@ -217,7 +217,16 @@ ifeq ($(DUMP),1) endif ifneq ($(findstring arm,$(ARCH)),) CPU_TYPE ?= xscale + CPU_CFLAGS_arm920t = -march=armv4t -mtune=arm920t + CPU_CFLAGS_arm926ej-s = -march=armv5te -mtune=arm926ej-s + CPU_CFLAGS_arm1136j-s = -march=armv6 -mtune=arm1136j-s + CPU_CFLAGS_arm1176jzf-s = -march=armv6 -mtune=arm1176jzf-s + CPU_CFLAGS_cortex-a9 = -march=armv7-a -mtune=cortex-a9 + CPU_CFLAGS_fa526 = -march=armv4 -mtune=fa526 + CPU_CFLAGS_mpcore = -march=armv6k -mtune=mpcore CPU_CFLAGS_xscale = march=armv5te -mtune=xscale + CPU_CFLAGS_vfp = -mfpu=vfp -mfloat-abi=softfp + CPU_CFLAGS_vfp3 = -mfpu=vfp3-d16 -mfloat-abi=softfp endif ifeq ($(ARCH),sparc) CPU_TYPE = sparc |