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 | b2e35bbd7b6c12b82f7d22356b0369dc81116ec3 (patch) | |
tree | 335126c919cdb8e6fa1782cdf30ae1f66d961305 /target/linux/lantiq | |
parent | 7c0ac121b2abc064149e64755938da0fef9001e0 (diff) | |
download | upstream-b2e35bbd7b6c12b82f7d22356b0369dc81116ec3.tar.gz upstream-b2e35bbd7b6c12b82f7d22356b0369dc81116ec3.tar.bz2 upstream-b2e35bbd7b6c12b82f7d22356b0369dc81116ec3.zip |
build: unify mips target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38210 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq')
-rw-r--r-- | target/linux/lantiq/Makefile | 2 | ||||
-rw-r--r-- | target/linux/lantiq/ase/target.mk | 1 | ||||
-rw-r--r-- | target/linux/lantiq/falcon/target.mk | 1 | ||||
-rw-r--r-- | target/linux/lantiq/svip_be/target.mk | 1 | ||||
-rw-r--r-- | target/linux/lantiq/svip_le/target.mk | 1 | ||||
-rw-r--r-- | target/linux/lantiq/xrx200/target.mk | 3 | ||||
-rw-r--r-- | target/linux/lantiq/xway/target.mk | 3 |
7 files changed, 5 insertions, 7 deletions
diff --git a/target/linux/lantiq/Makefile b/target/linux/lantiq/Makefile index ccb30a1a87..fa98788318 100644 --- a/target/linux/lantiq/Makefile +++ b/target/linux/lantiq/Makefile @@ -13,7 +13,7 @@ SUBTARGETS=xway xrx200 ase falcon LINUX_VERSION:=3.10.12 -CFLAGS=-Os -pipe -mips32r2 -mno-branch-likely +CPU_TYPE:=mips32r2 define Target/Description Build firmware images for Lantiq SoC diff --git a/target/linux/lantiq/ase/target.mk b/target/linux/lantiq/ase/target.mk index f1f0c07eb3..a052dd2ce7 100644 --- a/target/linux/lantiq/ase/target.mk +++ b/target/linux/lantiq/ase/target.mk @@ -2,7 +2,6 @@ ARCH:=mips SUBTARGET:=ase BOARDNAME:=Amazon-SE FEATURES:=squashfs atm -CFLAGS+= -mtune=mips32r2 DEFAULT_PACKAGES+=kmod-pppoa ppp-mod-pppoa linux-atm atm-tools br2684ctl kmod-ltq-dsl-ase ltq-dsl-app diff --git a/target/linux/lantiq/falcon/target.mk b/target/linux/lantiq/falcon/target.mk index b7af20c79c..14ac402473 100644 --- a/target/linux/lantiq/falcon/target.mk +++ b/target/linux/lantiq/falcon/target.mk @@ -3,7 +3,6 @@ SUBTARGET:=falcon BOARDNAME:=Falcon FEATURES:=squashfs DEVICE_TYPE:=other -CFLAGS+= -mtune=mips32r2 DEFAULT_PACKAGES+= kmod-ifxos gpon-base-files kmod-leds-gpio kmod-ledtrig-heartbeat \ kmod-gpon-optic-drv gpon-optic-drv kmod-gpon-onu-drv gpon-onu-drv \ diff --git a/target/linux/lantiq/svip_be/target.mk b/target/linux/lantiq/svip_be/target.mk index ef8eeffa43..7cdd540590 100644 --- a/target/linux/lantiq/svip_be/target.mk +++ b/target/linux/lantiq/svip_be/target.mk @@ -3,7 +3,6 @@ SUBTARGET:=svip_be BOARDNAME:=SVIP Big Endian FEATURES:=squashfs DEVICE_TYPE:=other -CFLAGS+= -mtune=mips32r2 DEFAULT_PACKAGES+= uboot-svip hostapd-mini diff --git a/target/linux/lantiq/svip_le/target.mk b/target/linux/lantiq/svip_le/target.mk index d2ccdbcfe1..2c1ed07a4e 100644 --- a/target/linux/lantiq/svip_le/target.mk +++ b/target/linux/lantiq/svip_le/target.mk @@ -3,7 +3,6 @@ SUBTARGET:=svip_le BOARDNAME:=SVIP Little Endian FEATURES:=squashfs DEVICE_TYPE:=other -CFLAGS+= -mtune=mips32r2 DEFAULT_PACKAGES+= uboot-svip hostapd-mini diff --git a/target/linux/lantiq/xrx200/target.mk b/target/linux/lantiq/xrx200/target.mk index 0eb5937212..b0be140057 100644 --- a/target/linux/lantiq/xrx200/target.mk +++ b/target/linux/lantiq/xrx200/target.mk @@ -2,7 +2,8 @@ ARCH:=mips SUBTARGET:=xrx200 BOARDNAME:=XRX200 FEATURES:=squashfs atm mips16 -CFLAGS+= -mtune=34kc -mdsp +CPU_TYPE:=34kc +CPU_SUBTYPE:=dsp DEFAULT_PACKAGES+=kmod-leds-gpio kmod-gpio-button-hotplug diff --git a/target/linux/lantiq/xway/target.mk b/target/linux/lantiq/xway/target.mk index ffbc4eaefe..3da4638da3 100644 --- a/target/linux/lantiq/xway/target.mk +++ b/target/linux/lantiq/xway/target.mk @@ -2,7 +2,8 @@ ARCH:=mips SUBTARGET:=xway BOARDNAME:=XWAY FEATURES:=squashfs atm mips16 -CFLAGS+= -mtune=34kc -mdsp +CPU_TYPE:=34kc +CPU_SUBTYPE:=dsp DEFAULT_PACKAGES+=kmod-leds-gpio kmod-gpio-button-hotplug |