1. Alessio Caiazza
  2. openwrt


hauke  committed 02c95b0

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@410503c298f89-4303-0410-b956-a3cf2f4a3e73

  • Participants
  • Parent commits a18e402
  • Branches master

Comments (0)

Files changed (5)

File include/target.mk

View file
  • Ignore whitespace
     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

File target/linux/brcm47xx/Makefile

View file
  • Ignore whitespace
 BOARDNAME:=Broadcom BCM47xx/53xx (MIPS)
-FEATURES:=squashfs usb pcmcia
+FEATURES:=squashfs usb
 SUBTARGETS:=generic mips74k legacy
 MAINTAINER:=Hauke Mehrtens <hauke@hauke-m.de>

File target/linux/brcm47xx/generic/target.mk

View file
  • Ignore whitespace
 define Target/Description
 	Build generic firmware for all Broadcom BCM47xx and BCM53xx MIPS

File target/linux/brcm47xx/legacy/target.mk

View file
  • Ignore whitespace
 FEATURES += low_mem
 BOARDNAME:=Legacy (802.11g)
 define Target/Description
 	Build generic firmware for legacy 802.11g Broadcom BCM47xx

File target/linux/brcm47xx/mips74k/target.mk

View file
  • Ignore whitespace
 define Target/Description
 	Build firmware for Broadcom BCM47xx and BCM53xx devices with