Browse Source

added luci image target

risci_atom 9 years ago
parent
commit
45284f78e7

+ 2 - 2
target/linux/ar71xx/image/Makefile

@@ -1114,7 +1114,7 @@ $(eval $(call BuildTemplate,128kraw,-raw,128k))
 $(eval $(call BuildTemplate,256k,,256k))
 $(eval $(call BuildTemplate,all,,64k 128k 256k))
 
-ifeq ($(SUBTARGET),generic-luci)
+ifeq ($(SUBTARGET),luci)
 #NETGEAR
 $(eval $(call SingleProfile,Netgear,64kraw,WNR2200,wnr2200,WNR2200,ttyS0,115200,$$(wnr2200_mtdlayout),0x32323030,WNR2200,"" NA,))
 $(eval $(call SingleProfile,Netgear,64kraw,WNDR3700V1,wndr3700,WNDR3700,ttyS0,115200,$$(wndr3700_mtdlayout),0x33373030,WNDR3700,"" NA,,7 864 320))
@@ -1143,7 +1143,7 @@ $(eval $(call MultiProfile,TLWR741,TLWR741NV1 TLWR741NV2 TLWR741NV4))
 $(eval $(call MultiProfile,TLWR841,TLWR841NV15 TLWR841NV3 TLWR841NV5 TLWR841NV7 TLWR841NV8 TLWR841NV9 TLWR847NV8))
 $(eval $(call MultiProfile,WNDR3700-luci,WNDR3700V1 WNDR3700V2 WNDR3800 WNDR3800CH WNDRMAC WNDRMACV2))
 
-endif # ifeq ($(SUBTARGET),generic-luci)
+endif # ifeq ($(SUBTARGET),luci)
 
 
 

+ 1 - 0
target/linux/ar71xx/luci/config-default

@@ -0,0 +1 @@
+CONFIG_CMDLINE="rootfstype=squashfs,jffs2 noinitrd"

+ 72 - 0
target/linux/ar71xx/luci/profiles/netgear.mk

@@ -0,0 +1,72 @@
+#
+# Copyright (C) 2009-2013 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/WNDAP360
+        NAME:=NETGEAR WNDAP360
+        PACKAGES:=luci luci-proto-relay luci-proto-ipv6 
+endef
+
+define Profile/WNDAP360/Description
+        Package set optimized for the NETGEAR WNDAP360
+endef
+
+$(eval $(call Profile,WNDAP360))
+
+define Profile/WNDR3700
+	NAME:=NETGEAR WNDR3700/WNDR3800/WNDRMAC
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev kmod-leds-wndr3700-usb
+endef
+
+define Profile/WNDR3700/Description
+	Package set optimized for the NETGEAR WNDR3700/WNDR3800/WNDRMAC
+endef
+
+$(eval $(call Profile,WNDR3700))
+
+define Profile/WNR2000V3
+	NAME:=NETGEAR WNR2000V3
+endef
+
+define Profile/WNR2000V3/Description
+	Package set optimized for the NETGEAR WNR2000V3
+endef
+
+$(eval $(call Profile,WNR2000V3))
+
+
+define Profile/WNR2000V4
+	NAME:=NETGEAR WNR2000V4
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+endef
+
+define Profile/WNR2000V4/Description
+	Package set optimized for the NETGEAR WNR2000V4
+endef
+
+$(eval $(call Profile,WNR2000V4))
+
+
+define Profile/WNR612V2
+	NAME:=NETGEAR WNR612V2 / On Networks N150
+endef
+
+define Profile/WNR612V2/Description
+	Package set optimized for the NETGEAR WNR612V2 / On Networks N150
+endef
+
+$(eval $(call Profile,WNR612V2))
+
+
+define Profile/WNR2200
+	NAME:=NETGEAR WNR2200
+endef
+
+define Profile/WNR2200/Description
+	Package set optimized for the NETGEAR WNR2200
+endef
+
+$(eval $(call Profile,WNR2200))

+ 28 - 0
target/linux/ar71xx/luci/profiles/planex.mk

@@ -0,0 +1,28 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/MZKW04NU
+	NAME:=Planex MZK-W04NU
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+endef
+
+define Profile/MZKW04NU/Description
+	Package set optimized for the Planex MZK-W04NU.
+endef
+
+$(eval $(call Profile,MZKW04NU))
+
+define Profile/MZKW300NH
+	NAME:=Planex MZK-W300NH
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 
+endef
+
+define Profile/MZKW300NH/Description
+	Package set optimized for the Planex MZK-W300NH.
+endef
+
+$(eval $(call Profile,MZKW300NH))

+ 355 - 0
target/linux/ar71xx/luci/profiles/tp-link.mk

@@ -0,0 +1,355 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+
+define Profile/CPE510
+	NAME:=TP-LINK CPE210/220/510/520
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 rssileds
+endef
+
+define Profile/CPE510/Description
+	Package set optimized for the TP-LINK CPE210/220/510/520.
+endef
+$(eval $(call Profile,CPE510))
+
+
+define Profile/TLMR10U
+	NAME:=TP-LINK TL-MR10U
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 kmod-usb-core kmod-usb2
+endef
+
+define Profile/TLMR10U/Description
+	Package set optimized for the TP-LINK TL-MR10U.
+endef
+$(eval $(call Profile,TLMR10U))
+
+
+define Profile/TLMR11U
+	NAME:=TP-LINK TL-MR11U
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+endef
+
+define Profile/TLMR11U/Description
+	Package set optimized for the TP-LINK TL-MR11U.
+endef
+$(eval $(call Profile,TLMR11U))
+
+
+define Profile/TLMR13U
+	NAME:=TP-LINK TL-MR13U
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+endef
+
+define Profile/TLMR13U/Description
+	Package set optimized for the TP-LINK TL-MR13U.
+endef
+$(eval $(call Profile,TLMR13U))
+
+
+define Profile/TLMR3020
+	NAME:=TP-LINK TL-MR3020
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+endef
+
+define Profile/TLMR3020/Description
+	Package set optimized for the TP-LINK TL-MR3020.
+endef
+$(eval $(call Profile,TLMR3020))
+
+
+define Profile/TLMR3040
+	NAME:=TP-LINK TL-MR3040
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+endef
+
+define Profile/TLMR3040/Description
+	Package set optimized for the TP-LINK TL-MR3040.
+endef
+$(eval $(call Profile,TLMR3040))
+
+
+define Profile/TLMR3220
+	NAME:=TP-LINK TL-MR3220
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+endef
+
+define Profile/TLMR3220/Description
+	Package set optimized for the TP-LINK TL-MR3220.
+endef
+$(eval $(call Profile,TLMR3220))
+
+
+define Profile/TLMR3420
+	NAME:=TP-LINK TL-MR3420
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+endef
+
+define Profile/TLMR3420/Description
+	Package set optimized for the TP-LINK TL-MR3420.
+endef
+$(eval $(call Profile,TLMR3420))
+
+
+define Profile/TLWR703
+	NAME:=TP-LINK TL-WR703N
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 kmod-usb-core kmod-usb2
+endef
+
+
+define Profile/TLWR703/Description
+	Package set optimized for the TP-LINK TL-WR703N.
+endef
+$(eval $(call Profile,TLWR703))
+
+
+define Profile/TLWR710
+	NAME:=TP-LINK TL-WR710N
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 kmod-usb-core kmod-usb2
+endef
+
+
+define Profile/TLWR710/Description
+	Package set optimized for the TP-LINK TL-WR710N.
+endef
+$(eval $(call Profile,TLWR710))
+
+
+define Profile/TLWR720
+	NAME:=TP-LINK TL-WR720N
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 kmod-usb-core kmod-usb2
+endef
+
+
+define Profile/TLWR720/Description
+	Package set optimized for the TP-LINK TL-WR720N.
+endef
+$(eval $(call Profile,TLWR720))
+
+
+define Profile/TLWA701
+	NAME:=TP-LINK TL-WA701N/ND
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 
+endef
+
+define Profile/TLWA701/Description
+	Package set optimized for the TP-LINK TL-WA701N/ND.
+endef
+$(eval $(call Profile,TLWA701))
+
+define Profile/TLWA730RE
+	NAME:=TP-LINK TL-WA730RE
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 
+endef
+
+define Profile/TLWA730RE/Description
+	Package set optimized for the TP-LINK TL-WA730RE.
+endef
+$(eval $(call Profile,TLWA730RE))
+
+define Profile/TLWA750
+	NAME:=TP-LINK TL-WA750RE
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 rssileds
+endef
+
+define Profile/TLWA750/Description
+	Package set optimized for the TP-LINK TL-WA750RE.
+endef
+$(eval $(call Profile,TLWA750))
+
+
+define Profile/TLWA7510
+	NAME:=TP-LINK TL-WA7510N
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 
+endef
+
+define Profile/TLWA7510/Description
+	Package set optimized for the TP-LINK TL-WA7510N.
+endef
+$(eval $(call Profile,TLWA7510))
+
+define Profile/TLWA801
+	NAME:=TP-LINK TL-WA801N/ND
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 
+endef
+
+define Profile/TLWA801/Description
+	Package set optimized for the TP-LINK TL-WA801N/ND.
+endef
+$(eval $(call Profile,TLWA801))
+
+define Profile/TLWA830
+	NAME:=TP-LINK TL-WA830RE
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 
+endef
+
+define Profile/TLWA830/Description
+	Package set optimized for the TP-LINK TL-WA830RE.
+endef
+$(eval $(call Profile,TLWA830))
+
+
+define Profile/TLWA850
+	NAME:=TP-LINK TL-WA850RE
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 rssileds
+endef
+
+define Profile/TLWA850/Description
+	Package set optimized for the TP-LINK TL-WA850RE.
+endef
+$(eval $(call Profile,TLWA850))
+
+
+define Profile/TLWA860
+	NAME:=TP-LINK TL-WA860RE
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 
+endef
+
+define Profile/TLWA860/Description
+	Package set optimized for the TP-LINK TL-WA860RE.
+endef
+$(eval $(call Profile,TLWA860))
+
+
+define Profile/TLWA901
+	NAME:=TP-LINK TL-WA901N/ND
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 
+endef
+
+define Profile/TLWA901/Description
+	Package set optimized for the TP-LINK TL-WA901N/ND.
+endef
+$(eval $(call Profile,TLWA901))
+
+
+define Profile/TLWDR4300
+	NAME:=TP-LINK TL-WDR3500/3600/4300/4310/MW4350R
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+endef
+
+define Profile/TLWDR4300/Description
+	Package set optimized for the TP-LINK TL-WDR3500/3600/4300/4310/MW4350R.
+endef
+$(eval $(call Profile,TLWDR4300))
+
+
+define Profile/TLWDR4900V2
+	NAME:=TP-LINK TL-WDR4900v2
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+endef
+
+define Profile/TLWDR4900V2/Description
+	Package set optimized for the TP-LINK TL-WDR4900v2.
+endef
+$(eval $(call Profile,TLWDR4900V2))
+
+
+define Profile/TLWR740
+	NAME:=TP-LINK TL-WR740N/ND
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 
+endef
+
+define Profile/TLWR740/Description
+	Package set optimized for the TP-LINK TL-WR740N/ND.
+endef
+$(eval $(call Profile,TLWR740))
+
+
+define Profile/TLWR741
+	NAME:=TP-LINK TL-WR741N/ND
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 
+endef
+
+define Profile/TLWR741/Description
+	Package set optimized for the TP-LINK TL-WR741N/ND.
+endef
+$(eval $(call Profile,TLWR741))
+
+define Profile/TLWR741-luci
+        NAME:=TP-LINK TL-WR741N/ND Luci
+        PACKAGES:=luci luci-proto-relay luci-proto-ipv6 luci luci-proto-relay
+endef
+
+define Profile/TLWR741-luci/Description
+        Package set optimized for the TP-LINK TL-WR741N/ND with the luci web-ui.
+endef
+$(eval $(call Profile,TLWR741-luci))
+
+define Profile/TLWR743
+	NAME:=TP-LINK TL-WR743N/ND
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 
+endef
+
+define Profile/TLWR743/Description
+	Package set optimized for the TP-LINK TL-WR743N/ND.
+endef
+$(eval $(call Profile,TLWR743))
+
+
+define Profile/TLWR841
+	NAME:=TP-LINK TL-WR841N/ND
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 
+endef
+
+define Profile/TLWR841/Description
+	Package set optimized for the TP-LINK TL-WR841N/ND.
+endef
+$(eval $(call Profile,TLWR841))
+
+
+define Profile/TLWR842
+	NAME:=TP-LINK TL-WR842N/ND
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+endef
+
+define Profile/TLWR842/Description
+	Package set optimized for the TP-LINK TL-WR842N/ND.
+endef
+$(eval $(call Profile,TLWR842))
+
+
+define Profile/TLWR941
+	NAME:=TP-LINK TL-WR941N/ND
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 
+endef
+
+define Profile/TLWR941/Description
+	Package set optimized for the TP-LINK TL-WR941N/ND.
+endef
+$(eval $(call Profile,TLWR941))
+
+
+define Profile/TLWR1041
+	NAME:=TP-LINK TL-WR1041N
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 
+endef
+
+define Profile/TLWR1041/Description
+	Package set optimized for the TP-LINK TL-WR1041N/ND.
+endef
+$(eval $(call Profile,TLWR1041))
+
+
+define Profile/TLWR1043
+	NAME:=TP-LINK TL-WR1043N/ND
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+endef
+
+define Profile/TLWR1043/Description
+	Package set optimized for the TP-LINK TL-WR1043N/ND.
+endef
+$(eval $(call Profile,TLWR1043))
+
+
+define Profile/TLWR2543
+	NAME:=TP-LINK TL-WR2543N/ND
+	PACKAGES:=luci luci-proto-relay luci-proto-ipv6 kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
+endef
+
+define Profile/TLWR2543/Description
+	Package set optimized for the TP-LINK TL-WR2543N/ND.
+endef
+$(eval $(call Profile,TLWR2543))

+ 8 - 0
target/linux/ar71xx/luci/target.mk

@@ -0,0 +1,8 @@
+BOARDNAME:=luci
+FEATURES += squashfs
+
+define Target/Description
+	Build firmware images for generic Atheros AR71xx/AR913x/AR934x based boards.
+endef
+
+