From 9abbaa9539b7f34422e3233369e4bdc867ced915 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 3 Aug 2016 14:56:43 +0200 Subject: [PATCH] build: remove MIPS dsp/dsp2 CPU_SUBTYPE There does not seem to be any meaningful difference in generated code. This will save some time and space on snapshot builds Signed-off-by: Felix Fietkau --- include/target.mk | 2 -- target/linux/brcm47xx/mips74k/target.mk | 1 - target/linux/lantiq/xrx200/target.mk | 1 - target/linux/lantiq/xway/target.mk | 1 - target/linux/lantiq/xway_legacy/target.mk | 1 - target/linux/ramips/mt7620/target.mk | 1 - target/linux/ramips/mt7621/target.mk | 1 - target/linux/ramips/mt7628/target.mk | 1 - target/linux/ramips/mt7688/target.mk | 1 - target/linux/ramips/rt305x/target.mk | 1 - target/linux/ramips/rt3883/target.mk | 1 - 11 files changed, 12 deletions(-) diff --git a/include/target.mk b/include/target.mk index 3fc2bd7508..696b463857 100644 --- a/include/target.mk +++ b/include/target.mk @@ -172,8 +172,6 @@ ifeq ($(DUMP),1) CPU_CFLAGS_74kc = -mips32r2 -mtune=74kc CPU_CFLAGS_1004kc = -mips32r2 -mtune=1004kc CPU_CFLAGS_octeon = -march=octeon -mabi=64 - CPU_CFLAGS_dsp = -mdsp - CPU_CFLAGS_dsp2 = -mdspr2 endif ifeq ($(ARCH),i386) CPU_TYPE ?= i486 diff --git a/target/linux/brcm47xx/mips74k/target.mk b/target/linux/brcm47xx/mips74k/target.mk index ccefa21e05..eb006e9a16 100644 --- a/target/linux/brcm47xx/mips74k/target.mk +++ b/target/linux/brcm47xx/mips74k/target.mk @@ -1,6 +1,5 @@ BOARDNAME:=MIPS 74K CPU_TYPE:=74kc -CPU_SUBTYPE:=dsp2 FEATURES+=mips16 define Target/Description diff --git a/target/linux/lantiq/xrx200/target.mk b/target/linux/lantiq/xrx200/target.mk index 6b8738c8a8..a52816c452 100644 --- a/target/linux/lantiq/xrx200/target.mk +++ b/target/linux/lantiq/xrx200/target.mk @@ -3,7 +3,6 @@ SUBTARGET:=xrx200 BOARDNAME:=XRX200 FEATURES:=squashfs atm mips16 nand ubifs 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 b9d4a0ff5b..1fe6bc4bda 100644 --- a/target/linux/lantiq/xway/target.mk +++ b/target/linux/lantiq/xway/target.mk @@ -3,7 +3,6 @@ SUBTARGET:=xway BOARDNAME:=XWAY FEATURES:=squashfs atm mips16 nand ubifs ramdisk CPU_TYPE:=34kc -CPU_SUBTYPE:=dsp DEFAULT_PACKAGES+=kmod-leds-gpio kmod-gpio-button-hotplug diff --git a/target/linux/lantiq/xway_legacy/target.mk b/target/linux/lantiq/xway_legacy/target.mk index 2d9cc56d38..abff3853f1 100644 --- a/target/linux/lantiq/xway_legacy/target.mk +++ b/target/linux/lantiq/xway_legacy/target.mk @@ -3,7 +3,6 @@ SUBTARGET:=xway_legacy BOARDNAME:=XWAY Legacy FEATURES:=squashfs atm mips16 ramdisk small_flash CPU_TYPE:=34kc -CPU_SUBTYPE:=dsp DEFAULT_PACKAGES+=kmod-leds-gpio kmod-gpio-button-hotplug diff --git a/target/linux/ramips/mt7620/target.mk b/target/linux/ramips/mt7620/target.mk index 08c775c97b..bbdf21c1f5 100644 --- a/target/linux/ramips/mt7620/target.mk +++ b/target/linux/ramips/mt7620/target.mk @@ -6,7 +6,6 @@ SUBTARGET:=mt7620 BOARDNAME:=MT7620 based boards FEATURES+=usb CPU_TYPE:=24kec -CPU_SUBTYPE:=dsp DEFAULT_PACKAGES += kmod-rt2800-pci kmod-rt2800-soc kmod-mt76 diff --git a/target/linux/ramips/mt7621/target.mk b/target/linux/ramips/mt7621/target.mk index 7e175435b3..16c6562d07 100644 --- a/target/linux/ramips/mt7621/target.mk +++ b/target/linux/ramips/mt7621/target.mk @@ -6,7 +6,6 @@ SUBTARGET:=mt7621 BOARDNAME:=MT7621 based boards FEATURES+=usb rtc CPU_TYPE:=1004kc -CPU_SUBTYPE:=dsp DEFAULT_PACKAGES += kmod-mt76 diff --git a/target/linux/ramips/mt7628/target.mk b/target/linux/ramips/mt7628/target.mk index 61d7f0707c..cb717eb9bc 100644 --- a/target/linux/ramips/mt7628/target.mk +++ b/target/linux/ramips/mt7628/target.mk @@ -6,7 +6,6 @@ SUBTARGET:=mt7628 BOARDNAME:=MT7628 based boards FEATURES+=usb CPU_TYPE:=24kec -CPU_SUBTYPE:=dsp DEFAULT_PACKAGES += kmod-mt76 diff --git a/target/linux/ramips/mt7688/target.mk b/target/linux/ramips/mt7688/target.mk index a501a64136..84393c9ea3 100644 --- a/target/linux/ramips/mt7688/target.mk +++ b/target/linux/ramips/mt7688/target.mk @@ -6,7 +6,6 @@ SUBTARGET:=mt7688 BOARDNAME:=MT7688 based boards FEATURES+=usb CPU_TYPE:=24kec -CPU_SUBTYPE:=dsp DEFAULT_PACKAGES += kmod-mt76 diff --git a/target/linux/ramips/rt305x/target.mk b/target/linux/ramips/rt305x/target.mk index 633925999e..f3c8a682c3 100644 --- a/target/linux/ramips/rt305x/target.mk +++ b/target/linux/ramips/rt305x/target.mk @@ -6,7 +6,6 @@ SUBTARGET:=rt305x BOARDNAME:=RT3x5x/RT5350 based boards FEATURES+=usb ramdisk CPU_TYPE:=24kec -CPU_SUBTYPE:=dsp DEFAULT_PACKAGES += kmod-rt2800-soc diff --git a/target/linux/ramips/rt3883/target.mk b/target/linux/ramips/rt3883/target.mk index 7a2cec99a1..6ae4e7820d 100644 --- a/target/linux/ramips/rt3883/target.mk +++ b/target/linux/ramips/rt3883/target.mk @@ -6,7 +6,6 @@ SUBTARGET:=rt3883 BOARDNAME:=RT3662/RT3883 based boards FEATURES+=usb pci CPU_TYPE:=74kc -CPU_SUBTYPE:=dsp2 DEFAULT_PACKAGES += kmod-rt2800-pci kmod-rt2800-soc