brcm47xx: add mips74k subtarget for newer devices
All new devices (with MIPS 74K CPU) are based on BCMA SoC and have Ethernet core supported by bgmac. Create a new subtarget to generate optimized builds. This is just a beginning, further tweaks (like kernel configuration) are still possible. This decreases default root.squashfs by ~128 kB. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41025
This commit is contained in:
parent
b5d42bc111
commit
bffd80e3e1
6 changed files with 82 additions and 1 deletions
|
@ -10,7 +10,7 @@ ARCH:=mipsel
|
||||||
BOARD:=brcm47xx
|
BOARD:=brcm47xx
|
||||||
BOARDNAME:=Broadcom BCM47xx/53xx (MIPS)
|
BOARDNAME:=Broadcom BCM47xx/53xx (MIPS)
|
||||||
FEATURES:=squashfs usb pcmcia low_mem
|
FEATURES:=squashfs usb pcmcia low_mem
|
||||||
SUBTARGETS:=generic
|
SUBTARGETS:=generic mips74k
|
||||||
MAINTAINER:=Hauke Mehrtens <hauke@hauke-m.de>
|
MAINTAINER:=Hauke Mehrtens <hauke@hauke-m.de>
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.36
|
LINUX_VERSION:=3.10.36
|
||||||
|
|
19
target/linux/brcm47xx/mips74k/profiles/100-Broadcom-b43.mk
Normal file
19
target/linux/brcm47xx/mips74k/profiles/100-Broadcom-b43.mk
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2014 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
define Profile/Broadcom-mips74k-b43
|
||||||
|
NAME:=Broadcom SoC, BCM43xx WiFi (b43)
|
||||||
|
PACKAGES:=kmod-bgmac kmod-b43
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Profile/Broadcom-mips74k-b43/Description
|
||||||
|
Package set for devices with BCM43xx WiFi including mac80211 and b43
|
||||||
|
driver.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call Profile,Broadcom-mips74k-b43))
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2014 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
define Profile/Broadcom-mips74k-brcmsmac
|
||||||
|
NAME:=Broadcom SoC, BCM43xx WiFi (brcmsmac)
|
||||||
|
PACKAGES:=kmod-bgmac kmod-brcmsmac
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Profile/Broadcom-mips74k-brcmsmac/Description
|
||||||
|
Package set for devices with BCM43xx WiFi including mac80211 and
|
||||||
|
brcmsmac driver.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call Profile,Broadcom-mips74k-brcmsmac))
|
||||||
|
|
19
target/linux/brcm47xx/mips74k/profiles/102-Broadcom-wl.mk
Normal file
19
target/linux/brcm47xx/mips74k/profiles/102-Broadcom-wl.mk
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2014 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
define Profile/Broadcom-mips74k-wl
|
||||||
|
NAME:=Broadcom SoC, BCM43xx WiFi (proprietary wl)
|
||||||
|
PACKAGES:=kmod-bgmac -wpad-mini kmod-brcm-wl wlc nas
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Profile/Broadcom-mips74k-wl/Description
|
||||||
|
Package set for devices with BCM43xx WiFi including proprietary (and
|
||||||
|
closed source) driver "wl".
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call Profile,Broadcom-mips74k-wl))
|
||||||
|
|
18
target/linux/brcm47xx/mips74k/profiles/103-Broadcom-none.mk
Normal file
18
target/linux/brcm47xx/mips74k/profiles/103-Broadcom-none.mk
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2014 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
define Profile/Broadcom-mips74k-none
|
||||||
|
NAME:=Broadcom SoC, No WiFi
|
||||||
|
PACKAGES:=kmod-bgmac -wpad-mini
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Profile/Broadcom-mips74k-none/Description
|
||||||
|
Package set for devices without a WiFi.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call Profile,Broadcom-mips74k-none))
|
||||||
|
|
6
target/linux/brcm47xx/mips74k/target.mk
Normal file
6
target/linux/brcm47xx/mips74k/target.mk
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
BOARDNAME:=MIPS 74K
|
||||||
|
|
||||||
|
define Target/Description
|
||||||
|
Build firmware for Broadcom BCM47xx and BCM53xx devices with
|
||||||
|
MIPS 74K CPU.
|
||||||
|
endef
|
Loading…
Reference in a new issue