aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2014-06-07 17:36:02 +0000
committerHauke Mehrtens <hauke@openwrt.org>2014-06-07 17:36:02 +0000
commit436d42c5cd36615355fd78e25f30d3a98afaa0c3 (patch)
tree630cc5e5905c058947b282e677ad1747d04cc5f3 /target/linux
parent7e4ffc4002e374cc11155fe45f98b96b6acd3a41 (diff)
downloadupstream-436d42c5cd36615355fd78e25f30d3a98afaa0c3.tar.gz
upstream-436d42c5cd36615355fd78e25f30d3a98afaa0c3.tar.bz2
upstream-436d42c5cd36615355fd78e25f30d3a98afaa0c3.zip
brcm47xx: activate some compiler optimizations for 74K CPUs
With this patch the mips74k subtarget will be compiled with optimized compiler options to generated smaller and faster code. This currently breaks broadcom-wl, because the binary blob is only compiled with mipsr1 support. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41050 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/brcm47xx/Makefile2
-rw-r--r--target/linux/brcm47xx/generic/target.mk1
-rw-r--r--target/linux/brcm47xx/legacy/target.mk1
-rw-r--r--target/linux/brcm47xx/mips74k/target.mk3
4 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/Makefile b/target/linux/brcm47xx/Makefile
index a69851e548..1caf3467f2 100644
--- a/target/linux/brcm47xx/Makefile
+++ b/target/linux/brcm47xx/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=mipsel
BOARD:=brcm47xx
BOARDNAME:=Broadcom BCM47xx/53xx (MIPS)
-FEATURES:=squashfs usb pcmcia
+FEATURES:=squashfs usb
SUBTARGETS:=generic mips74k legacy
MAINTAINER:=Hauke Mehrtens <hauke@hauke-m.de>
diff --git a/target/linux/brcm47xx/generic/target.mk b/target/linux/brcm47xx/generic/target.mk
index 0bcc5f031d..71fde52bc3 100644
--- a/target/linux/brcm47xx/generic/target.mk
+++ b/target/linux/brcm47xx/generic/target.mk
@@ -1,4 +1,5 @@
BOARDNAME:=Generic
+FEATURES+=pcmcia
define Target/Description
Build generic firmware for all Broadcom BCM47xx and BCM53xx MIPS
diff --git a/target/linux/brcm47xx/legacy/target.mk b/target/linux/brcm47xx/legacy/target.mk
index 5cee32436f..720ea12c63 100644
--- a/target/linux/brcm47xx/legacy/target.mk
+++ b/target/linux/brcm47xx/legacy/target.mk
@@ -1,5 +1,6 @@
FEATURES += low_mem
BOARDNAME:=Legacy (802.11g)
+FEATURES+=pcmcia
define Target/Description
Build generic firmware for legacy 802.11g Broadcom BCM47xx
diff --git a/target/linux/brcm47xx/mips74k/target.mk b/target/linux/brcm47xx/mips74k/target.mk
index ab7af28b67..ccefa21e05 100644
--- a/target/linux/brcm47xx/mips74k/target.mk
+++ b/target/linux/brcm47xx/mips74k/target.mk
@@ -1,4 +1,7 @@
BOARDNAME:=MIPS 74K
+CPU_TYPE:=74kc
+CPU_SUBTYPE:=dsp2
+FEATURES+=mips16
define Target/Description
Build firmware for Broadcom BCM47xx and BCM53xx devices with