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>

SVN-Revision: 41050
This commit is contained in:
Hauke Mehrtens 2014-06-07 17:36:02 +00:00
parent 4b953aa267
commit ed7c73fbef
5 changed files with 7 additions and 1 deletions

View File

@ -214,6 +214,7 @@ ifeq ($(DUMP),1)
CPU_CFLAGS_mips64 = -mips64 -mtune=mips64 -mabi=64
CPU_CFLAGS_24kec = -mips32r2 -mtune=24kec
CPU_CFLAGS_34kc = -mips32r2 -mtune=34kc
CPU_CFLAGS_74kc = -mips32r2 -mtune=74kc
CPU_CFLAGS_dsp = -mdsp
CPU_CFLAGS_dsp2 = -mdspr2
endif

View File

@ -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>

View File

@ -1,4 +1,5 @@
BOARDNAME:=Generic
FEATURES+=pcmcia
define Target/Description
Build generic firmware for all Broadcom BCM47xx and BCM53xx MIPS

View File

@ -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

View File

@ -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