[OpenWrt-Devel] [PATCH v2 19/25] ramips: fix various mistakes in subtargets *.mk profiles

Piotr Dymacz pepe2k at gmail.com
Wed Aug 5 14:30:20 EDT 2015


This patch:
 * fixes wrong indentation
 * fixes wrong names and descriptions (ex. Dlink -> D-Link)
 * changes filenames to manufacturer names
 * moves oem/unknown manufacturers boards to misc.mk profiles
 * combines profiles for boards from the same manufacturers in one file (ex. Olimex)
 * fix profile files structure (keep the same convention as in other targets, ex. ar71xx)

in various .mk profiles, in ramips target.

Signed-off-by: Piotr Dymacz <pepe2k at gmail.com>
---
 target/linux/ramips/mt7620/profiles/mediatek.mk    |  2 +-
 target/linux/ramips/mt7620/profiles/microduino.mk  | 16 +++++
 target/linux/ramips/mt7620/profiles/microwrt.mk    |  9 ---
 target/linux/ramips/mt7620/profiles/xiaomi.mk      | 10 ++--
 target/linux/ramips/mt7621/profiles/firefly.mk     | 12 ++--
 target/linux/ramips/mt7621/profiles/misc.mk        | 20 +++++++
 target/linux/ramips/mt7621/profiles/pbr-m1.mk      | 22 -------
 target/linux/ramips/mt7621/profiles/sap-g3200u3.mk | 18 ------
 target/linux/ramips/mt7621/profiles/storylink.mk   | 18 ++++++
 target/linux/ramips/rt288x/profiles/asus.mk        |  8 +--
 target/linux/ramips/rt288x/profiles/belkin.mk      | 10 ++--
 target/linux/ramips/rt305x/profiles/allnet.mk      |  7 +--
 target/linux/ramips/rt305x/profiles/alpha.mk       |  1 -
 target/linux/ramips/rt305x/profiles/arcwireless.mk | 17 ++++++
 target/linux/ramips/rt305x/profiles/asiarf.mk      | 23 ++++----
 target/linux/ramips/rt305x/profiles/asus.mk        |  8 +--
 target/linux/ramips/rt305x/profiles/aximcom.mk     |  1 -
 target/linux/ramips/rt305x/profiles/aztech.mk      |  1 -
 target/linux/ramips/rt305x/profiles/belkin.mk      | 10 ++--
 target/linux/ramips/rt305x/profiles/broadway.mk    |  1 -
 target/linux/ramips/rt305x/profiles/d-link.mk      | 68 +++++++++++++++++++++
 target/linux/ramips/rt305x/profiles/dlink.mk       | 69 ----------------------
 target/linux/ramips/rt305x/profiles/easyacc.mk     |  1 -
 target/linux/ramips/rt305x/profiles/engenius.mk    | 10 ++--
 target/linux/ramips/rt305x/profiles/fon.mk         |  1 -
 .../linux/ramips/rt305x/profiles/freestation5.mk   | 18 ------
 target/linux/ramips/rt305x/profiles/hame.mk        |  4 +-
 target/linux/ramips/rt305x/profiles/hg255d.mk      | 17 ------
 target/linux/ramips/rt305x/profiles/hilink.mk      |  2 -
 target/linux/ramips/rt305x/profiles/hootoo.mk      |  2 -
 target/linux/ramips/rt305x/profiles/huawei.mk      | 16 +++++
 target/linux/ramips/rt305x/profiles/intenso.mk     | 19 ++++++
 target/linux/ramips/rt305x/profiles/m2m.mk         | 20 -------
 target/linux/ramips/rt305x/profiles/misc.mk        |  1 -
 target/linux/ramips/rt305x/profiles/nexx.mk        |  1 -
 target/linux/ramips/rt305x/profiles/olimex.mk      | 33 +++++++++++
 target/linux/ramips/rt305x/profiles/planex.mk      |  1 -
 target/linux/ramips/rt305x/profiles/poray.mk       | 12 ++--
 .../rt305x/profiles/rt5350f-olinuxino-evb.mk       | 21 -------
 .../ramips/rt305x/profiles/rt5350f-olinuxino.mk    | 20 -------
 target/linux/ramips/rt305x/profiles/tenda.mk       |  5 +-
 target/linux/ramips/rt305x/profiles/upvel.mk       | 17 +++---
 target/linux/ramips/rt305x/profiles/vocore.mk      |  1 -
 target/linux/ramips/rt305x/profiles/wansview.mk    |  3 +-
 target/linux/ramips/rt3883/profiles/trendnet.mk    |  1 +
 45 files changed, 276 insertions(+), 301 deletions(-)
 create mode 100644 target/linux/ramips/mt7620/profiles/microduino.mk
 delete mode 100644 target/linux/ramips/mt7620/profiles/microwrt.mk
 create mode 100644 target/linux/ramips/mt7621/profiles/misc.mk
 delete mode 100644 target/linux/ramips/mt7621/profiles/pbr-m1.mk
 delete mode 100644 target/linux/ramips/mt7621/profiles/sap-g3200u3.mk
 create mode 100644 target/linux/ramips/mt7621/profiles/storylink.mk
 create mode 100644 target/linux/ramips/rt305x/profiles/arcwireless.mk
 create mode 100644 target/linux/ramips/rt305x/profiles/d-link.mk
 delete mode 100644 target/linux/ramips/rt305x/profiles/dlink.mk
 delete mode 100644 target/linux/ramips/rt305x/profiles/freestation5.mk
 delete mode 100644 target/linux/ramips/rt305x/profiles/hg255d.mk
 create mode 100644 target/linux/ramips/rt305x/profiles/huawei.mk
 create mode 100644 target/linux/ramips/rt305x/profiles/intenso.mk
 delete mode 100644 target/linux/ramips/rt305x/profiles/m2m.mk
 create mode 100644 target/linux/ramips/rt305x/profiles/olimex.mk
 delete mode 100644 target/linux/ramips/rt305x/profiles/rt5350f-olinuxino-evb.mk
 delete mode 100644 target/linux/ramips/rt305x/profiles/rt5350f-olinuxino.mk

diff --git a/target/linux/ramips/mt7620/profiles/mediatek.mk b/target/linux/ramips/mt7620/profiles/mediatek.mk
index acb0c03..4f6703e 100644
--- a/target/linux/ramips/mt7620/profiles/mediatek.mk
+++ b/target/linux/ramips/mt7620/profiles/mediatek.mk
@@ -9,7 +9,7 @@ define Profile/MT7620a
 	NAME:=MT7620a EVB
 endef
 
-define Profile/Default/Description
+define Profile/MT7620a/Description
 	Default package set compatible with MT7620a eval board
 endef
 $(eval $(call Profile,MT7620a))
diff --git a/target/linux/ramips/mt7620/profiles/microduino.mk b/target/linux/ramips/mt7620/profiles/microduino.mk
new file mode 100644
index 0000000..b68a269
--- /dev/null
+++ b/target/linux/ramips/mt7620/profiles/microduino.mk
@@ -0,0 +1,16 @@
+#
+# Copyright (C) 2015 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/MicroWRT
+	NAME:=Microduino MicroWRT
+	PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci
+endef
+
+define Profile/MicroWRT/Description
+	Package set compatible with MicroWRT
+endef
+$(eval $(call Profile,MicroWRT))
diff --git a/target/linux/ramips/mt7620/profiles/microwrt.mk b/target/linux/ramips/mt7620/profiles/microwrt.mk
deleted file mode 100644
index 2b0977d..0000000
--- a/target/linux/ramips/mt7620/profiles/microwrt.mk
+++ /dev/null
@@ -1,9 +0,0 @@
-define Profile/MicroWRT
-	NAME:=Microduino MicroWRT
-	PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci
-endef
-
-define Profile/MicroWRT/Description
-		Package set compatible with MicroWRT
-endef
-$(eval $(call Profile,MicroWRT))
diff --git a/target/linux/ramips/mt7620/profiles/xiaomi.mk b/target/linux/ramips/mt7620/profiles/xiaomi.mk
index 47f6d49..df5598c 100644
--- a/target/linux/ramips/mt7620/profiles/xiaomi.mk
+++ b/target/linux/ramips/mt7620/profiles/xiaomi.mk
@@ -6,13 +6,13 @@
 #
 
 define Profile/MIWIFI-MINI
- NAME:=Xiaomi MiWiFi Mini
- PACKAGES:=\
-	kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci \
-	kmod-mt76
+	NAME:=Xiaomi MiWiFi Mini
+	PACKAGES:=\
+		kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci \
+		kmod-mt76
 endef
 
 define Profile/MIWIFI-MINI/Description
- Support for Xiaomi MiWiFi Mini routers
+	Support for Xiaomi MiWiFi Mini routers
 endef
 $(eval $(call Profile,MIWIFI-MINI))
diff --git a/target/linux/ramips/mt7621/profiles/firefly.mk b/target/linux/ramips/mt7621/profiles/firefly.mk
index 501a32b..bc50ab4 100644
--- a/target/linux/ramips/mt7621/profiles/firefly.mk
+++ b/target/linux/ramips/mt7621/profiles/firefly.mk
@@ -1,18 +1,18 @@
 #
-# Copyright (C) 2011 OpenWrt.org
+# Copyright (C) 2015 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 
-define Profile/Firefly
-	NAME:=Firefly Device
+define Profile/FIREWRT
+	NAME:=Firefly FireWRT
 	PACKAGES:=\
 		kmod-usb-core kmod-usb3 kmod-usb-hid kmod-sdhci-mt7620 \
 		kmod-ledtrig-usbdev
 endef
 
-define Profile/Firefly/Description
-	Default package set compatible with most boards.
+define Profile/FIREWRT/Description
+	Package set compatible with the Firefly FireWRT board.
 endef
-$(eval $(call Profile,Firefly))
+$(eval $(call Profile,FIREWRT))
diff --git a/target/linux/ramips/mt7621/profiles/misc.mk b/target/linux/ramips/mt7621/profiles/misc.mk
new file mode 100644
index 0000000..9db0cd5
--- /dev/null
+++ b/target/linux/ramips/mt7621/profiles/misc.mk
@@ -0,0 +1,20 @@
+#
+# Copyright (C) 2015 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/PBR-M1
+	NAME:=PBR-M1 Device
+	FEATURES+=rtc
+	PACKAGES:=\
+		kmod-usb-core kmod-usb3 kmod-usb-hid kmod-sdhci-mt7620 \
+		kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci \
+		kmod-usb3-mt7621 kmod-rtc-pcf8563
+endef
+
+define Profile/PBR-M1/Description
+	Default package set compatible with most boards.
+endef
+$(eval $(call Profile,PBR-M1))
diff --git a/target/linux/ramips/mt7621/profiles/pbr-m1.mk b/target/linux/ramips/mt7621/profiles/pbr-m1.mk
deleted file mode 100644
index 9773b31..0000000
--- a/target/linux/ramips/mt7621/profiles/pbr-m1.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-#
-# Copyright (C) 2011 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/PBR-M1
-	NAME:=PBR-M1 Device
-	PACKAGES:=\
-		kmod-usb-core kmod-usb3 kmod-usb-hid kmod-sdhci-mt7620 \
-		kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci \
-		kmod-usb3-mt7621 kmod-rtc-pcf8563
-endef
-
-
-FEATURES+=rtc
-
-define Profile/PBR-M1/Description
-	Default package set compatible with most boards.
-endef
-$(eval $(call Profile,PBR-M1))
diff --git a/target/linux/ramips/mt7621/profiles/sap-g3200u3.mk b/target/linux/ramips/mt7621/profiles/sap-g3200u3.mk
deleted file mode 100644
index 9ca4a2f..0000000
--- a/target/linux/ramips/mt7621/profiles/sap-g3200u3.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Copyright (C) 2015 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/SAP-G3200U3
-	NAME:=STORYLiNK SAP-G3200U3
-	PACKAGES:=\
-		kmod-usb-core kmod-usb3 kmod-usb-hid \
-		kmod-ledtrig-usbdev
-endef
-
-define Profile/SAP-G3200U3/Description
-	Package set compatible with the STORYLiNK SAP-G3200U3 board.
-endef
-$(eval $(call Profile,SAP-G3200U3))
diff --git a/target/linux/ramips/mt7621/profiles/storylink.mk b/target/linux/ramips/mt7621/profiles/storylink.mk
new file mode 100644
index 0000000..9ca4a2f
--- /dev/null
+++ b/target/linux/ramips/mt7621/profiles/storylink.mk
@@ -0,0 +1,18 @@
+#
+# Copyright (C) 2015 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/SAP-G3200U3
+	NAME:=STORYLiNK SAP-G3200U3
+	PACKAGES:=\
+		kmod-usb-core kmod-usb3 kmod-usb-hid \
+		kmod-ledtrig-usbdev
+endef
+
+define Profile/SAP-G3200U3/Description
+	Package set compatible with the STORYLiNK SAP-G3200U3 board.
+endef
+$(eval $(call Profile,SAP-G3200U3))
diff --git a/target/linux/ramips/rt288x/profiles/asus.mk b/target/linux/ramips/rt288x/profiles/asus.mk
index 1e8de5c..aa6fb4d 100644
--- a/target/linux/ramips/rt288x/profiles/asus.mk
+++ b/target/linux/ramips/rt288x/profiles/asus.mk
@@ -6,13 +6,11 @@
 #
 
 define Profile/RTN15
-       NAME:=Asus RT-N15
-       PACKAGES:=kmod-switch-rtl8366s kmod-swconfig swconfig
+	NAME:=Asus RT-N15
+	PACKAGES:=kmod-switch-rtl8366s kmod-swconfig swconfig
 endef
 
 define Profile/RTN15/Description
-       Package set for Asus RT-N15 board
+	Package set for Asus RT-N15 board
 endef
-
 $(eval $(call Profile,RTN15))
-
diff --git a/target/linux/ramips/rt288x/profiles/belkin.mk b/target/linux/ramips/rt288x/profiles/belkin.mk
index 608cee9..4a0c62d 100644
--- a/target/linux/ramips/rt288x/profiles/belkin.mk
+++ b/target/linux/ramips/rt288x/profiles/belkin.mk
@@ -6,13 +6,11 @@
 #
 
 define Profile/F5D8235V1
-       NAME:=Belkin F5D8235 V1
-       PACKAGES:=kmod-switch-rtl8366s kmod-swconfig swconfig
+	NAME:=Belkin F5D8235 V1
+	PACKAGES:=kmod-switch-rtl8366s kmod-swconfig swconfig
 endef
 
-define Profile/F5D8235_V1/Description
-       Package set for Belkin F5D8235 V1
+define Profile/F5D8235V1/Description
+	Package set for Belkin F5D8235 V1
 endef
-
 $(eval $(call Profile,F5D8235V1))
-
diff --git a/target/linux/ramips/rt305x/profiles/allnet.mk b/target/linux/ramips/rt305x/profiles/allnet.mk
index e625f47..eb175ec 100644
--- a/target/linux/ramips/rt305x/profiles/allnet.mk
+++ b/target/linux/ramips/rt305x/profiles/allnet.mk
@@ -15,9 +15,9 @@ endef
 define Profile/ALL02393G/Description
 	Package set for Allnet ALL0239-3G
 endef
-
 $(eval $(call Profile,ALL02393G))
 
+
 define Profile/ALL0256N
 	NAME:=Allnet ALL0256N
 	PACKAGES:=rssileds
@@ -26,9 +26,9 @@ endef
 define Profile/ALL0256N/Description
 	Package set for Allnet ALL0256N
 endef
-
 $(eval $(call Profile,ALL0256N))
 
+
 define Profile/ALL5002
 	NAME:=Allnet ALL5002
 	PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev \
@@ -38,9 +38,9 @@ endef
 define Profile/ALL5002/Description
 	Package set for Allnet ALL5002
 endef
-
 $(eval $(call Profile,ALL5002))
 
+
 define Profile/ALL5003
 	NAME:=Allnet ALL5003
 	PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev \
@@ -50,5 +50,4 @@ endef
 define Profile/ALL5003/Description
 	Package set for Allnet ALL5003
 endef
-
 $(eval $(call Profile,ALL5003))
diff --git a/target/linux/ramips/rt305x/profiles/alpha.mk b/target/linux/ramips/rt305x/profiles/alpha.mk
index 2b8e311..4ecbd6a 100644
--- a/target/linux/ramips/rt305x/profiles/alpha.mk
+++ b/target/linux/ramips/rt305x/profiles/alpha.mk
@@ -15,5 +15,4 @@ endef
 define Profile/ASL26555/Description
 	Package set for Alpha ASL26555
 endef
-
 $(eval $(call Profile,ASL26555))
diff --git a/target/linux/ramips/rt305x/profiles/arcwireless.mk b/target/linux/ramips/rt305x/profiles/arcwireless.mk
new file mode 100644
index 0000000..8405f2d
--- /dev/null
+++ b/target/linux/ramips/rt305x/profiles/arcwireless.mk
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2012 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/FREESTATION5
+	NAME:=ARC Wireless FreeStation
+	PACKAGES:=\
+		 kmod-usb-dwc2 kmod-rt2500-usb kmod-rt2800-usb kmod-rt2x00-usb
+endef
+
+define Profile/FREESTATION5/Description
+	Package set for ARC Wireless FreeStation, Flex mARC, iFlex, and SplitStation
+endef
+$(eval $(call Profile,FREESTATION5))
diff --git a/target/linux/ramips/rt305x/profiles/asiarf.mk b/target/linux/ramips/rt305x/profiles/asiarf.mk
index a0bd385..efa01ea 100644
--- a/target/linux/ramips/rt305x/profiles/asiarf.mk
+++ b/target/linux/ramips/rt305x/profiles/asiarf.mk
@@ -5,6 +5,16 @@
 # See /LICENSE for more information.
 #
 
+define Profile/AWAPN2403
+	NAME:=AsiaRF AWAPN2403
+endef
+
+define Profile/AWAPN2403/Description
+	Package set for AsiaRF AWAPN2403 Pocket Router
+endef
+$(eval $(call Profile,AWAPN2403))
+
+
 define Profile/AWM002EVB
 	NAME:=AsiaRF AWM002-EVB
 	PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev \
@@ -14,6 +24,8 @@ endef
 define Profile/AWM002EVB/Description
 	Package set for AsiaRF AWM002 Evaluation Board
 endef
+$(eval $(call Profile,AWM002EVB))
+
 
 define Profile/AWM003EVB
 	NAME:=AsiaRF AWM003-EVB
@@ -24,15 +36,4 @@ endef
 define Profile/AWM003EVB/Description
 	Package set for AsiaRF AWM003 Evaluation Board
 endef
-
-define Profile/AWAPN2403
-	NAME:=AsiaRF AWAPN2403
-endef
-
-define Profile/AWAPN2403/Description
-	Package set for AsiaRF AWAPN2403 Pocket Router
-endef
-
-$(eval $(call Profile,AWM002EVB))
 $(eval $(call Profile,AWM003EVB))
-$(eval $(call Profile,AWAPN2403))
diff --git a/target/linux/ramips/rt305x/profiles/asus.mk b/target/linux/ramips/rt305x/profiles/asus.mk
index d7fd8ca..ddfdc1a 100644
--- a/target/linux/ramips/rt305x/profiles/asus.mk
+++ b/target/linux/ramips/rt305x/profiles/asus.mk
@@ -5,14 +5,16 @@
 # See /LICENSE for more information.
 #
 
-define Profile/RT-N10-PLUS
+define Profile/RTN10PLUS
 	NAME:=Asus RT-N10+
 	PACKAGES:=kmod-leds-gpio wpad-mini
 endef
 
-define Profile/RT-N10-PLUS/Description
+define Profile/RTN10PLUS/Description
 	Package set for Asus RT-N10+.
 endef
+$(eval $(call Profile,RTN10PLUS))
+
 
 define Profile/RT-N13U
 	NAME:=Asus RT-N13U
@@ -22,6 +24,4 @@ endef
 define Profile/RT-N13U/Description
 	Package set for Asus RT-N13U.
 endef
-
-$(eval $(call Profile,RT-N10-PLUS))
 $(eval $(call Profile,RT-N13U))
diff --git a/target/linux/ramips/rt305x/profiles/aximcom.mk b/target/linux/ramips/rt305x/profiles/aximcom.mk
index eb305af..d00e7a9 100644
--- a/target/linux/ramips/rt305x/profiles/aximcom.mk
+++ b/target/linux/ramips/rt305x/profiles/aximcom.mk
@@ -13,5 +13,4 @@ endef
 define Profile/MR102N/Description
 	Package set for AXIMCom MR-102N
 endef
-
 $(eval $(call Profile,MR102N))
diff --git a/target/linux/ramips/rt305x/profiles/aztech.mk b/target/linux/ramips/rt305x/profiles/aztech.mk
index 4333f71..e869398 100644
--- a/target/linux/ramips/rt305x/profiles/aztech.mk
+++ b/target/linux/ramips/rt305x/profiles/aztech.mk
@@ -15,5 +15,4 @@ endef
 define Profile/HW550-3G/Description
 	Package set for Aztech HW550-3G
 endef
-
 $(eval $(call Profile,HW550-3G))
diff --git a/target/linux/ramips/rt305x/profiles/belkin.mk b/target/linux/ramips/rt305x/profiles/belkin.mk
index 88688d6..27c6bf4 100644
--- a/target/linux/ramips/rt305x/profiles/belkin.mk
+++ b/target/linux/ramips/rt305x/profiles/belkin.mk
@@ -16,17 +16,17 @@ endef
 define Profile/F5D8235V2/Description
 	Package set for Belkin F5D8235 v2
 endef
+$(eval $(call Profile,F5D8235V2))
+
 
 define Profile/F7C027
 	NAME:=Belkin F7C027
-        PACKAGES:=\
-                -kmod-usb-core -kmod-usb-dwc2 \
-                -kmod-ledtrig-usbdev
+	PACKAGES:=\
+		-kmod-usb-core -kmod-usb-dwc2 \
+		-kmod-ledtrig-usbdev
 endef
 
 define Profile/F7C027/Description
 	Package set for Belkin F7C027 - Plug with soc_ap and a relay
 endef
-
-$(eval $(call Profile,F5D8235V2))
 $(eval $(call Profile,F7C027))
diff --git a/target/linux/ramips/rt305x/profiles/broadway.mk b/target/linux/ramips/rt305x/profiles/broadway.mk
index e7833b1..b757387 100644
--- a/target/linux/ramips/rt305x/profiles/broadway.mk
+++ b/target/linux/ramips/rt305x/profiles/broadway.mk
@@ -15,5 +15,4 @@ endef
 define Profile/BROADWAY/Description
 	Package set for Hauppauge Broadway
 endef
-
 $(eval $(call Profile,BROADWAY))
diff --git a/target/linux/ramips/rt305x/profiles/d-link.mk b/target/linux/ramips/rt305x/profiles/d-link.mk
new file mode 100644
index 0000000..05d919b
--- /dev/null
+++ b/target/linux/ramips/rt305x/profiles/d-link.mk
@@ -0,0 +1,68 @@
+#
+# Copyright (C) 2013 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/DCS930
+	NAME:=D-Link DCS-930
+	PACKAGES:=kmod-video-core kmod-video-uvc \
+		kmod-sound-core kmod-usb-audio \
+		kmod-usb-core kmod-usb-dwc2
+endef
+
+define Profile/DCS930/Description
+	Package set for D-Link DCS-930 board
+endef
+$(eval $(call Profile,DCS930))
+
+
+define Profile/DCS930LB1
+	NAME:=D-Link DCS-930L B1
+	PACKAGES:=kmod-video-core kmod-video-uvc \
+		kmod-sound-core kmod-usb-audio \
+		kmod-usb-core kmod-usb-ohci kmod-usb2
+endef
+
+define Profile/DCS930LB1/Description
+	Package set for D-Link DCS-930L B1 board
+endef
+$(eval $(call Profile,DCS930LB1))
+
+
+define Profile/DIR610A1
+	NAME:=D-Link DIR-610 A1
+	PACKAGES:=kmod-ledtrig-netdev kmod-ledtrig-timer
+endef
+
+define Profile/DIR610A1/Description
+	Package set for D-Link DIR610 A1 board
+endef
+$(eval $(call Profile,DIR610A1))
+
+
+define Profile/DIR-615-D
+	NAME:=D-Link DIR-615 D
+	PACKAGES:=\
+		-kmod-usb-core -kmod-usb-dwc2 \
+		-kmod-ledtrig-usbdev
+endef
+
+define Profile/DIR-615-D/Description
+	Package set for D-Link DIR-615 D board
+endef
+$(eval $(call Profile,DIR-615-D))
+
+
+define Profile/DIR615H1
+	NAME:=D-Link DIR-615 H1
+	PACKAGES:=\
+		-kmod-usb-core -kmod-usb-dwc2 \
+		-kmod-ledtrig-usbdev
+endef
+
+define Profile/DIR615H1/Description
+	Package set for D-Link DIR-615 H1 board
+endef
+$(eval $(call Profile,DIR615H1))
diff --git a/target/linux/ramips/rt305x/profiles/dlink.mk b/target/linux/ramips/rt305x/profiles/dlink.mk
deleted file mode 100644
index 5fc5709..0000000
--- a/target/linux/ramips/rt305x/profiles/dlink.mk
+++ /dev/null
@@ -1,69 +0,0 @@
-#
-# Copyright (C) 2013 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/DIR615H1
-	NAME:=Dlink DIR-615 H1
-        PACKAGES:=\
-                -kmod-usb-core -kmod-usb-dwc2 \
-                -kmod-ledtrig-usbdev
-endef
-
-define Profile/DIR615H1/Description
-	Package set for Dlink DIR-615 H1 board
-endef
-
-$(eval $(call Profile,DIR615H1))
-
-define Profile/DIR-615-D
-	NAME:=Dlink DIR-615 D
-        PACKAGES:=\
-                -kmod-usb-core -kmod-usb-dwc2 \
-                -kmod-ledtrig-usbdev
-endef
-
-define Profile/DIR-615-D/Description
-	Package set for Dlink DIR-615 D board
-endef
-
-$(eval $(call Profile,DIR-615-D))
-
-define Profile/DCS930
-	NAME:=Dlink DCS-930
-        PACKAGES:=kmod-video-core kmod-video-uvc \
-		kmod-sound-core kmod-usb-audio \
-		kmod-usb-core kmod-usb-dwc2
-endef
-
-define Profile/DCS930/Description
-	Package set for Dlink DCS-930 board
-endef
-
-$(eval $(call Profile,DCS930))
-
-define Profile/DCS930LB1
-	NAME:=Dlink DCS-930L B1
-        PACKAGES:=kmod-video-core kmod-video-uvc \
-		kmod-sound-core kmod-usb-audio \
-		kmod-usb-core kmod-usb-ohci kmod-usb2
-endef
-
-define Profile/DCS930LB1/Description
-	Package set for Dlink DCS-930L B1 board
-endef
-
-$(eval $(call Profile,DCS930LB1))
-
-define Profile/DIR610A1
-	NAME:=Dlink DIR-610 A1
-	PACKAGES:=kmod-ledtrig-netdev kmod-ledtrig-timer
-endef
-
-define Profile/DIR610A1/Description
-	Package set for Dlink DIR610 A1 board
-endef
-
-$(eval $(call Profile,DIR610A1))
diff --git a/target/linux/ramips/rt305x/profiles/easyacc.mk b/target/linux/ramips/rt305x/profiles/easyacc.mk
index 012cfec..6b31673 100644
--- a/target/linux/ramips/rt305x/profiles/easyacc.mk
+++ b/target/linux/ramips/rt305x/profiles/easyacc.mk
@@ -17,5 +17,4 @@ endef
 define Profile/WIZARD8800/Description
 	Package set for EasyAcc Wi-Stor Wizard 4in1 wireless storage 8800
 endef
-
 $(eval $(call Profile,WIZARD8800))
diff --git a/target/linux/ramips/rt305x/profiles/engenius.mk b/target/linux/ramips/rt305x/profiles/engenius.mk
index 09c716e..cef275e 100644
--- a/target/linux/ramips/rt305x/profiles/engenius.mk
+++ b/target/linux/ramips/rt305x/profiles/engenius.mk
@@ -5,12 +5,12 @@
 # See /LICENSE for more information.
 #
 
-define Profile/ESR9753
-	NAME:=EnGenius Profile
+define Profile/ESR-9753
+	NAME:=EnGenius ESR-9753
 	PACKAGES:=
 endef
 
-define Profile/ESR9753/Description
-	EnGenius profile.
+define Profile/ESR-9753/Description
+	EnGenius ESR-9753 profile.
 endef
-$(eval $(call Profile,ESR9753))
+$(eval $(call Profile,ESR-9753))
diff --git a/target/linux/ramips/rt305x/profiles/fon.mk b/target/linux/ramips/rt305x/profiles/fon.mk
index 2c0d82a..cb95ad9 100644
--- a/target/linux/ramips/rt305x/profiles/fon.mk
+++ b/target/linux/ramips/rt305x/profiles/fon.mk
@@ -15,5 +15,4 @@ endef
 define Profile/FONERA20N/Description
 	Package set for Fonera 2.0N
 endef
-
 $(eval $(call Profile,FONERA20N))
diff --git a/target/linux/ramips/rt305x/profiles/freestation5.mk b/target/linux/ramips/rt305x/profiles/freestation5.mk
deleted file mode 100644
index ce9c304..0000000
--- a/target/linux/ramips/rt305x/profiles/freestation5.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Copyright (C) 2012 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/FREESTATION5
-	NAME:=FreeStation5
-	PACKAGES:=\
-		 kmod-usb-dwc2 kmod-rt2500-usb kmod-rt2800-usb kmod-rt2x00-usb
-endef
-
-define Profile/FREESTATION5/Description
-	Package set for ARC FreeStation, Flex mARC, iFlex, and SplitStation
-endef
-
-$(eval $(call Profile,FREESTATION5))
diff --git a/target/linux/ramips/rt305x/profiles/hame.mk b/target/linux/ramips/rt305x/profiles/hame.mk
index 06dfc12..2f483a0 100644
--- a/target/linux/ramips/rt305x/profiles/hame.mk
+++ b/target/linux/ramips/rt305x/profiles/hame.mk
@@ -14,9 +14,9 @@ endef
 define Profile/MPRA1/Description
 	Package set for HAME MPR-A1 board
 endef
-
 $(eval $(call Profile,MPRA1))
 
+
 define Profile/MPRA2
 	NAME:=HAME MPR-A2
 	PACKAGES:=\
@@ -26,6 +26,4 @@ endef
 define Profile/MPRA2/Description
 	Package set for HAME MPR-A2 board
 endef
-
 $(eval $(call Profile,MPRA2))
-
diff --git a/target/linux/ramips/rt305x/profiles/hg255d.mk b/target/linux/ramips/rt305x/profiles/hg255d.mk
deleted file mode 100644
index 3bb32dd..0000000
--- a/target/linux/ramips/rt305x/profiles/hg255d.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Copyright (C) 2013 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/HG255D
-	NAME:=HuaWei HG255D
-	PACKAGES:=kmod-leds-gpio wpad-mini kmod-usb-dwc2
-endef
-
-define Profile/HG255D/Description
-	Package set for HuaWei HG255D.
-endef
-
-$(eval $(call Profile,HG255D))
diff --git a/target/linux/ramips/rt305x/profiles/hilink.mk b/target/linux/ramips/rt305x/profiles/hilink.mk
index d978303..fa6833d 100644
--- a/target/linux/ramips/rt305x/profiles/hilink.mk
+++ b/target/linux/ramips/rt305x/profiles/hilink.mk
@@ -12,6 +12,4 @@ endef
 define Profile/HLKRM04/Description
 	Package set for HiLink RM04 Module
 endef
-
 $(eval $(call Profile,HLKRM04))
-
diff --git a/target/linux/ramips/rt305x/profiles/hootoo.mk b/target/linux/ramips/rt305x/profiles/hootoo.mk
index efd23ed..216ccff 100644
--- a/target/linux/ramips/rt305x/profiles/hootoo.mk
+++ b/target/linux/ramips/rt305x/profiles/hootoo.mk
@@ -13,6 +13,4 @@ endef
 define Profile/HT-TM02/Description
 	Package set optimized for the HooToo HT-TM02.
 endef
-
 $(eval $(call Profile,HT-TM02))
-
diff --git a/target/linux/ramips/rt305x/profiles/huawei.mk b/target/linux/ramips/rt305x/profiles/huawei.mk
new file mode 100644
index 0000000..3223e76
--- /dev/null
+++ b/target/linux/ramips/rt305x/profiles/huawei.mk
@@ -0,0 +1,16 @@
+#
+# Copyright (C) 2013 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/HG255D
+	NAME:=Huawei HG255D
+	PACKAGES:=kmod-leds-gpio wpad-mini kmod-usb-dwc2
+endef
+
+define Profile/HG255D/Description
+	Package set for Huawei HG255D.
+endef
+$(eval $(call Profile,HG255D))
diff --git a/target/linux/ramips/rt305x/profiles/intenso.mk b/target/linux/ramips/rt305x/profiles/intenso.mk
new file mode 100644
index 0000000..89f3094
--- /dev/null
+++ b/target/linux/ramips/rt305x/profiles/intenso.mk
@@ -0,0 +1,19 @@
+#
+# Copyright (C) 2015 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/M2M
+	NAME:=Intenso Memory 2 Move
+	PACKAGES:=\
+		kmod-ledtrig-netdev kmod-ledtrig-timer \
+		kmod-usb-core kmod-usb2 kmod-usb-storage kmod-scsi-core \
+		kmod-fs-ext4 kmod-fs-vfat block-mount
+endef
+
+define Profile/M2M/Description
+	Package set for Intenso Memory 2 Move USB 3.0
+endef
+$(eval $(call Profile,M2M))
diff --git a/target/linux/ramips/rt305x/profiles/m2m.mk b/target/linux/ramips/rt305x/profiles/m2m.mk
deleted file mode 100644
index 1b13cc5..0000000
--- a/target/linux/ramips/rt305x/profiles/m2m.mk
+++ /dev/null
@@ -1,20 +0,0 @@
-#
-# Copyright (C) 2015 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/M2M
-	NAME:=Intenso Memory 2 Move
-	PACKAGES:=\
-		kmod-ledtrig-netdev kmod-ledtrig-timer \
-		kmod-usb-core kmod-usb2 kmod-usb-storage kmod-scsi-core \
-		kmod-fs-ext4 kmod-fs-vfat block-mount
-endef
-
-define Profile/M2M/Description
-	Package set for Intenso Memory 2 Move USB 3.0
-endef
-
-$(eval $(call Profile,M2M))
diff --git a/target/linux/ramips/rt305x/profiles/misc.mk b/target/linux/ramips/rt305x/profiles/misc.mk
index cf7db6a..62a1d94 100644
--- a/target/linux/ramips/rt305x/profiles/misc.mk
+++ b/target/linux/ramips/rt305x/profiles/misc.mk
@@ -14,5 +14,4 @@ endef
 define Profile/A5-V11/Description
 	Package set for A5-V11
 endef
-
 $(eval $(call Profile,A5-V11))
diff --git a/target/linux/ramips/rt305x/profiles/nexx.mk b/target/linux/ramips/rt305x/profiles/nexx.mk
index eaef4c1..52f132e 100644
--- a/target/linux/ramips/rt305x/profiles/nexx.mk
+++ b/target/linux/ramips/rt305x/profiles/nexx.mk
@@ -13,5 +13,4 @@ endef
 define Profile/WT1520/Description
 	Package set for WT1520
 endef
-
 $(eval $(call Profile,WT1520))
diff --git a/target/linux/ramips/rt305x/profiles/olimex.mk b/target/linux/ramips/rt305x/profiles/olimex.mk
new file mode 100644
index 0000000..0c6276a
--- /dev/null
+++ b/target/linux/ramips/rt305x/profiles/olimex.mk
@@ -0,0 +1,33 @@
+#
+# Copyright (C) 2014 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/RT5350F-OLINUXINO
+	NAME:=RT5350F-OLinuXino
+	PACKAGES:=\
+		kmod-usb-core kmod-usb-ohci kmod-usb2 \
+		kmod-i2c-core kmod-i2c-ralink \
+		kmod-spi-dev
+endef
+
+define Profile/RT5350F-OLINUXINO/Description
+	Package set for RT5350F-OLinuXino board
+endef
+$(eval $(call Profile,RT5350F-OLINUXINO))
+
+
+define Profile/RT5350F-OLINUXINO-EVB
+	NAME:=RT5350F-OLinuXino-EVB
+	PACKAGES:=\
+		kmod-usb-core kmod-usb-ohci kmod-usb2 \
+		kmod-i2c-core kmod-i2c-ralink \
+		kmod-spi-dev
+endef
+
+define Profile/RT5350F-OLINUXINO-EVB/Description
+	Package set for RT5350F-OLinuXino-EVB board
+endef
+$(eval $(call Profile,RT5350F-OLINUXINO-EVB))
diff --git a/target/linux/ramips/rt305x/profiles/planex.mk b/target/linux/ramips/rt305x/profiles/planex.mk
index d0d9ac9..50ce382 100644
--- a/target/linux/ramips/rt305x/profiles/planex.mk
+++ b/target/linux/ramips/rt305x/profiles/planex.mk
@@ -13,5 +13,4 @@ endef
 define Profile/MZK-DP150N/Description
 	Package set optimized for the Planex MZK-DP150N.
 endef
-
 $(eval $(call Profile,MZK-DP150N))
diff --git a/target/linux/ramips/rt305x/profiles/poray.mk b/target/linux/ramips/rt305x/profiles/poray.mk
index 572d0e3..7a68a5f 100644
--- a/target/linux/ramips/rt305x/profiles/poray.mk
+++ b/target/linux/ramips/rt305x/profiles/poray.mk
@@ -14,9 +14,9 @@ endef
 define Profile/IP2202/Description
 	Package set for Poray IP2202 board
 endef
-
 $(eval $(call Profile,IP2202))
 
+
 define Profile/M3
 	NAME:=Poray M3
 	PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
@@ -25,35 +25,37 @@ endef
 define Profile/M3/Description
 	Package set for Poray M3 board
 endef
-
 $(eval $(call Profile,M3))
 
+
 define Profile/M4
 	NAME:=Poray M4
 	PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
 endef
+
 define Profile/M4/Description
 	Package set for Poray M4 board
 endef
-
 $(eval $(call Profile,M4))
 
+
 define Profile/X5
 	NAME:=Poray X5/X6
 	PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
 endef
+
 define Profile/X5/Description
 	Package set for Poray X5/X6 board
 endef
-
 $(eval $(call Profile,X5))
 
+
 define Profile/X8
 	NAME:=Poray X8
 	PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
 endef
+
 define Profile/X8/Description
 	Package set for Poray X8 board
 endef
-
 $(eval $(call Profile,X8))
diff --git a/target/linux/ramips/rt305x/profiles/rt5350f-olinuxino-evb.mk b/target/linux/ramips/rt305x/profiles/rt5350f-olinuxino-evb.mk
deleted file mode 100644
index 61f5ddb..0000000
--- a/target/linux/ramips/rt305x/profiles/rt5350f-olinuxino-evb.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/RT5350F-OLINUXINO-EVB
-	NAME:=RT5350F-OLinuXino-EVB
-	PACKAGES:=\
-		kmod-usb-core kmod-usb-ohci kmod-usb2 \
-		kmod-i2c-core kmod-i2c-ralink \
-		kmod-spi-dev
-endef
-
-define Profile/RT5350F-OLINUXINO-EVB/Description
-	Package set for RT5350F-OLinuXino-EVB board
-endef
-
-$(eval $(call Profile,RT5350F-OLINUXINO-EVB))
-
diff --git a/target/linux/ramips/rt305x/profiles/rt5350f-olinuxino.mk b/target/linux/ramips/rt305x/profiles/rt5350f-olinuxino.mk
deleted file mode 100644
index 3b20190..0000000
--- a/target/linux/ramips/rt305x/profiles/rt5350f-olinuxino.mk
+++ /dev/null
@@ -1,20 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/RT5350F-OLINUXINO
-	NAME:=RT5350F-OLinuXino
-	PACKAGES:=\
-		kmod-usb-core kmod-usb-ohci kmod-usb2 \
-		kmod-i2c-core kmod-i2c-ralink \
-		kmod-spi-dev
-endef
-
-define Profile/RT5350F-OLINUXINO/Description
-	Package set for RT5350F-OLinuXino board
-endef
-
-$(eval $(call Profile,RT5350F-OLINUXINO))
diff --git a/target/linux/ramips/rt305x/profiles/tenda.mk b/target/linux/ramips/rt305x/profiles/tenda.mk
index 36ba822..a3c5d3b 100644
--- a/target/linux/ramips/rt305x/profiles/tenda.mk
+++ b/target/linux/ramips/rt305x/profiles/tenda.mk
@@ -15,9 +15,9 @@ endef
 define Profile/3G150B/Description
 	Package set for Tenda 3G150B board
 endef
-
 $(eval $(call Profile,3G150B))
 
+
 define Profile/3G300M
 	NAME:=Tenda 3G300M
 	PACKAGES:=\
@@ -28,9 +28,9 @@ endef
 define Profile/3G300M/Description
 	Package set for Tenda 3G300M board
 endef
-
 $(eval $(call Profile,3G300M))
 
+
 define Profile/W306R_V20
 	NAME:=Tenda W306R V2.0
 	PACKAGES:=
@@ -39,5 +39,4 @@ endef
 define Profile/W306R_V20/Description
 	Package set for Tenda W306R V2.0 board
 endef
-
 $(eval $(call Profile,W306R_V20))
diff --git a/target/linux/ramips/rt305x/profiles/upvel.mk b/target/linux/ramips/rt305x/profiles/upvel.mk
index 590abb0..c5d60f5 100644
--- a/target/linux/ramips/rt305x/profiles/upvel.mk
+++ b/target/linux/ramips/rt305x/profiles/upvel.mk
@@ -5,26 +5,27 @@
 # See /LICENSE for more information.
 #
 
-define Profile/UR-336UN
-	NAME:=UPVEL UR-336UN
+define Profile/UR-326N4G
+	NAME:=UPVEL UR-326N4G
 	PACKAGES:=\
 		kmod-usb-core kmod-usb-dwc2 \
 		kmod-ledtrig-usbdev
 endef
 
-define Profile/UR-336UN/Description
+define Profile/UR-326N4G/Description
 	Default package set compatible with URVEL router board.
 endef
-$(eval $(call Profile,UR-336UN))
+$(eval $(call Profile,UR-326N4G))
 
-define Profile/UR-326N4G
-	NAME:=UPVEL UR-326N4G
+
+define Profile/UR-336UN
+	NAME:=UPVEL UR-336UN
 	PACKAGES:=\
 		kmod-usb-core kmod-usb-dwc2 \
 		kmod-ledtrig-usbdev
 endef
 
-define Profile/UR-326N4G/Description
+define Profile/UR-336UN/Description
 	Default package set compatible with URVEL router board.
 endef
-$(eval $(call Profile,UR-326N4G))
+$(eval $(call Profile,UR-336UN))
diff --git a/target/linux/ramips/rt305x/profiles/vocore.mk b/target/linux/ramips/rt305x/profiles/vocore.mk
index 92f3ce5..2ba3499 100644
--- a/target/linux/ramips/rt305x/profiles/vocore.mk
+++ b/target/linux/ramips/rt305x/profiles/vocore.mk
@@ -16,5 +16,4 @@ endef
 define Profile/VOCORE/Description
 	Package set for VoCore board
 endef
-
 $(eval $(call Profile,VOCORE))
diff --git a/target/linux/ramips/rt305x/profiles/wansview.mk b/target/linux/ramips/rt305x/profiles/wansview.mk
index 064cc06..0908a9c 100644
--- a/target/linux/ramips/rt305x/profiles/wansview.mk
+++ b/target/linux/ramips/rt305x/profiles/wansview.mk
@@ -7,12 +7,11 @@
 
 define Profile/NCS601W
 	NAME:=Wansview NCS601W
-        PACKAGES:=kmod-video-core kmod-video-uvc \
+	PACKAGES:=kmod-video-core kmod-video-uvc \
 		kmod-usb-core kmod-usb-ohci
 endef
 
 define Profile/NCS601W/Description
 	Package set for Wansview NCS601W board
 endef
-
 $(eval $(call Profile,NCS601W))
diff --git a/target/linux/ramips/rt3883/profiles/trendnet.mk b/target/linux/ramips/rt3883/profiles/trendnet.mk
index 89867ac..5a055ae 100644
--- a/target/linux/ramips/rt3883/profiles/trendnet.mk
+++ b/target/linux/ramips/rt3883/profiles/trendnet.mk
@@ -15,6 +15,7 @@ define Profile/TEW691GR/Description
 endef
 $(eval $(call Profile,TEW691GR))
 
+
 define Profile/TEW692GR
 	NAME:=TRENDnet TEW-692GR
 	PACKAGES:=swconfig
-- 
2.4.6
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list