diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-09-26 17:53:14 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-09-26 17:53:14 +0000 |
commit | a30681dff0c896464ebb3de81fcc737c114a6194 (patch) | |
tree | 90b2865f5a9295f8f3f1a43df46e26c4ca920285 /target/linux/ramips | |
parent | 569da024f0f37b2477f8d1499fb4860a7b4a9cd5 (diff) | |
download | upstream-a30681dff0c896464ebb3de81fcc737c114a6194.tar.gz upstream-a30681dff0c896464ebb3de81fcc737c114a6194.tar.bz2 upstream-a30681dff0c896464ebb3de81fcc737c114a6194.zip |
build: unify mips target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38210
Diffstat (limited to 'target/linux/ramips')
-rw-r--r-- | target/linux/ramips/Makefile | 1 | ||||
-rw-r--r-- | target/linux/ramips/mt7620a/target.mk | 3 | ||||
-rw-r--r-- | target/linux/ramips/rt288x/target.mk | 2 | ||||
-rw-r--r-- | target/linux/ramips/rt305x/target.mk | 3 | ||||
-rw-r--r-- | target/linux/ramips/rt3883/target.mk | 3 |
5 files changed, 7 insertions, 5 deletions
diff --git a/target/linux/ramips/Makefile b/target/linux/ramips/Makefile index 512a78f414..9a13a2c9a1 100644 --- a/target/linux/ramips/Makefile +++ b/target/linux/ramips/Makefile @@ -10,7 +10,6 @@ ARCH:=mipsel BOARD:=ramips BOARDNAME:=Ralink RT288x/RT3xxx SUBTARGETS:=rt305x rt3883 mt7620a rt288x -CFLAGS:=-Os -pipe -mno-branch-likely FEATURES:=squashfs gpio LINUX_VERSION:=3.10.12 diff --git a/target/linux/ramips/mt7620a/target.mk b/target/linux/ramips/mt7620a/target.mk index 4d4dd28ae9..3f4104d982 100644 --- a/target/linux/ramips/mt7620a/target.mk +++ b/target/linux/ramips/mt7620a/target.mk @@ -6,7 +6,8 @@ SUBTARGET:=mt7620a BOARDNAME:=MT7620a based boards ARCH_PACKAGES:=ramips_24kec FEATURES+=usb -CFLAGS+= -march=24kec -mdsp +CPU_TYPE:=24kec +CPU_SUBTYPE:=dsp define Target/Description Build firmware images for Ralink MT7620a based boards. diff --git a/target/linux/ramips/rt288x/target.mk b/target/linux/ramips/rt288x/target.mk index f826eab88e..2b11e4843e 100644 --- a/target/linux/ramips/rt288x/target.mk +++ b/target/linux/ramips/rt288x/target.mk @@ -4,7 +4,7 @@ SUBTARGET:=rt288x BOARDNAME:=RT288x based boards -CFLAGS+= -mips32r2 -mtune=mips32r2 +CPU_TYPE:=mips32r2 define Target/Description Build firmware images for Ralink RT288x based boards. diff --git a/target/linux/ramips/rt305x/target.mk b/target/linux/ramips/rt305x/target.mk index 527b829cb9..a98f415452 100644 --- a/target/linux/ramips/rt305x/target.mk +++ b/target/linux/ramips/rt305x/target.mk @@ -6,7 +6,8 @@ SUBTARGET:=rt305x BOARDNAME:=RT3x5x/RT5350 based boards ARCH_PACKAGES:=ramips_24kec FEATURES+=usb -CFLAGS+= -march=24kec -mdsp +CPU_TYPE:=24kec +CPU_SUBTYPE:=dsp define Target/Description Build firmware images for Ralink RT3x5x/RT5350 based boards. diff --git a/target/linux/ramips/rt3883/target.mk b/target/linux/ramips/rt3883/target.mk index 27c9020b52..8ccd67e4c1 100644 --- a/target/linux/ramips/rt3883/target.mk +++ b/target/linux/ramips/rt3883/target.mk @@ -6,7 +6,8 @@ SUBTARGET:=rt3883 BOARDNAME:=RT3662/RT3883 based boards ARCH_PACKAGES:=ramips_24kec FEATURES+=usb pci -CFLAGS+= -march=24kec -mdspr2 +CPU_TYPE:=24kec +CPU_SUBTYPE:=dsp2 define Target/Description Build firmware images for Ralink RT3662/RT3883 based boards. |