Author: hauke
Date: 2014-06-05 23:25:03 +0200 (Thu, 05 Jun 2014)
New Revision: 41025

Added:
   trunk/target/linux/brcm47xx/mips74k/
   trunk/target/linux/brcm47xx/mips74k/profiles/
   trunk/target/linux/brcm47xx/mips74k/profiles/100-Broadcom-b43.mk
   trunk/target/linux/brcm47xx/mips74k/profiles/101-Broadcom-brcsmac.mk
   trunk/target/linux/brcm47xx/mips74k/profiles/102-Broadcom-wl.mk
   trunk/target/linux/brcm47xx/mips74k/profiles/103-Broadcom-none.mk
   trunk/target/linux/brcm47xx/mips74k/target.mk
Modified:
   trunk/target/linux/brcm47xx/Makefile
Log:
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?\197?\130 Mi?\197?\130ecki <[email protected]>
Signed-off-by: Hauke Mehrtens <[email protected]>


Modified: trunk/target/linux/brcm47xx/Makefile
===================================================================
--- trunk/target/linux/brcm47xx/Makefile        2014-06-05 21:23:58 UTC (rev 
41024)
+++ trunk/target/linux/brcm47xx/Makefile        2014-06-05 21:25:03 UTC (rev 
41025)
@@ -10,7 +10,7 @@
 BOARD:=brcm47xx
 BOARDNAME:=Broadcom BCM47xx/53xx (MIPS)
 FEATURES:=squashfs usb pcmcia low_mem
-SUBTARGETS:=generic
+SUBTARGETS:=generic mips74k
 MAINTAINER:=Hauke Mehrtens <[email protected]>
 
 LINUX_VERSION:=3.10.36

Added: trunk/target/linux/brcm47xx/mips74k/profiles/100-Broadcom-b43.mk
===================================================================
--- trunk/target/linux/brcm47xx/mips74k/profiles/100-Broadcom-b43.mk            
                (rev 0)
+++ trunk/target/linux/brcm47xx/mips74k/profiles/100-Broadcom-b43.mk    
2014-06-05 21:25:03 UTC (rev 41025)
@@ -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))
+

Added: trunk/target/linux/brcm47xx/mips74k/profiles/101-Broadcom-brcsmac.mk
===================================================================
--- trunk/target/linux/brcm47xx/mips74k/profiles/101-Broadcom-brcsmac.mk        
                        (rev 0)
+++ trunk/target/linux/brcm47xx/mips74k/profiles/101-Broadcom-brcsmac.mk        
2014-06-05 21:25:03 UTC (rev 41025)
@@ -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))
+

Added: trunk/target/linux/brcm47xx/mips74k/profiles/102-Broadcom-wl.mk
===================================================================
--- trunk/target/linux/brcm47xx/mips74k/profiles/102-Broadcom-wl.mk             
                (rev 0)
+++ trunk/target/linux/brcm47xx/mips74k/profiles/102-Broadcom-wl.mk     
2014-06-05 21:25:03 UTC (rev 41025)
@@ -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))
+

Added: trunk/target/linux/brcm47xx/mips74k/profiles/103-Broadcom-none.mk
===================================================================
--- trunk/target/linux/brcm47xx/mips74k/profiles/103-Broadcom-none.mk           
                (rev 0)
+++ trunk/target/linux/brcm47xx/mips74k/profiles/103-Broadcom-none.mk   
2014-06-05 21:25:03 UTC (rev 41025)
@@ -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))
+

Added: trunk/target/linux/brcm47xx/mips74k/target.mk
===================================================================
--- trunk/target/linux/brcm47xx/mips74k/target.mk                               
(rev 0)
+++ trunk/target/linux/brcm47xx/mips74k/target.mk       2014-06-05 21:25:03 UTC 
(rev 41025)
@@ -0,0 +1,6 @@
+BOARDNAME:=MIPS 74K
+
+define Target/Description
+       Build firmware for Broadcom BCM47xx and BCM53xx devices with
+       MIPS 74K CPU.
+endef
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to