diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-09-26 17:53:20 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-09-26 17:53:20 +0000 |
commit | c8609ab4f80781b0c227d7b329d6b0a51801de72 (patch) | |
tree | d43bff23358acf486267bb0a585fbe33211ab774 /include/target.mk | |
parent | a30681dff0c896464ebb3de81fcc737c114a6194 (diff) | |
download | mtk-20170518-c8609ab4f80781b0c227d7b329d6b0a51801de72.zip mtk-20170518-c8609ab4f80781b0c227d7b329d6b0a51801de72.tar.gz mtk-20170518-c8609ab4f80781b0c227d7b329d6b0a51801de72.tar.bz2 |
build: unify arm target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38211
Diffstat (limited to 'include/target.mk')
-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 f9f378a..8c427c0 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 |