From bffd80e3e1f3f41236f65ccdbe5a75457b93d4d5 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Thu, 5 Jun 2014 21:25:03 +0000 Subject: brcm47xx: add mips74k subtarget for newer devices MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Hauke Mehrtens SVN-Revision: 41025 --- .../brcm47xx/mips74k/profiles/100-Broadcom-b43.mk | 19 +++++++++++++++++++ .../brcm47xx/mips74k/profiles/101-Broadcom-brcsmac.mk | 19 +++++++++++++++++++ .../brcm47xx/mips74k/profiles/102-Broadcom-wl.mk | 19 +++++++++++++++++++ .../brcm47xx/mips74k/profiles/103-Broadcom-none.mk | 18 ++++++++++++++++++ target/linux/brcm47xx/mips74k/target.mk | 6 ++++++ 5 files changed, 81 insertions(+) create mode 100644 target/linux/brcm47xx/mips74k/profiles/100-Broadcom-b43.mk create mode 100644 target/linux/brcm47xx/mips74k/profiles/101-Broadcom-brcsmac.mk create mode 100644 target/linux/brcm47xx/mips74k/profiles/102-Broadcom-wl.mk create mode 100644 target/linux/brcm47xx/mips74k/profiles/103-Broadcom-none.mk create mode 100644 target/linux/brcm47xx/mips74k/target.mk (limited to 'target/linux/brcm47xx/mips74k') diff --git a/target/linux/brcm47xx/mips74k/profiles/100-Broadcom-b43.mk b/target/linux/brcm47xx/mips74k/profiles/100-Broadcom-b43.mk new file mode 100644 index 0000000..7d3c6a7 --- /dev/null +++ b/target/linux/brcm47xx/mips74k/profiles/100-Broadcom-b43.mk @@ -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)) + diff --git a/target/linux/brcm47xx/mips74k/profiles/101-Broadcom-brcsmac.mk b/target/linux/brcm47xx/mips74k/profiles/101-Broadcom-brcsmac.mk new file mode 100644 index 0000000..2d09cd2 --- /dev/null +++ b/target/linux/brcm47xx/mips74k/profiles/101-Broadcom-brcsmac.mk @@ -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)) + diff --git a/target/linux/brcm47xx/mips74k/profiles/102-Broadcom-wl.mk b/target/linux/brcm47xx/mips74k/profiles/102-Broadcom-wl.mk new file mode 100644 index 0000000..37063ac --- /dev/null +++ b/target/linux/brcm47xx/mips74k/profiles/102-Broadcom-wl.mk @@ -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)) + diff --git a/target/linux/brcm47xx/mips74k/profiles/103-Broadcom-none.mk b/target/linux/brcm47xx/mips74k/profiles/103-Broadcom-none.mk new file mode 100644 index 0000000..bfe3719 --- /dev/null +++ b/target/linux/brcm47xx/mips74k/profiles/103-Broadcom-none.mk @@ -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)) + diff --git a/target/linux/brcm47xx/mips74k/target.mk b/target/linux/brcm47xx/mips74k/target.mk new file mode 100644 index 0000000..ab7af28 --- /dev/null +++ b/target/linux/brcm47xx/mips74k/target.mk @@ -0,0 +1,6 @@ +BOARDNAME:=MIPS 74K + +define Target/Description + Build firmware for Broadcom BCM47xx and BCM53xx devices with + MIPS 74K CPU. +endef -- cgit v1.1