[OpenWrt-Devel] [RFC] ramips: cleanup some rt305x profiles
Daniel Golle
daniel at makrotopia.org
Wed Jun 18 12:22:48 EDT 2014
rename HW5503G profile to HW550-3G to match name in image/Makefile
This does fix for #16599, however, are profile names allowed to
containes dashes?
If not, dashes will have to be removed in profiles for asus, aztech
and uplevel boards.
(also move both asus boards to asus.mk)
---
target/linux/ramips/rt305x/profiles/asus.mk | 27 ++++++++++++++++++++++
target/linux/ramips/rt305x/profiles/aztech.mk | 4 ++--
.../rt305x/profiles/n10-plus.mk (revision 0) | 17 --------------
target/linux/ramips/rt305x/profiles/n13u.mk | 17 --------------
4 files changed, 29 insertions(+), 36 deletions(-)
create mode 100644 target/linux/ramips/rt305x/profiles/asus.mk
delete mode 100644 target/linux/ramips/rt305x/profiles/n10-plus.mk (revision 0)
delete mode 100644 target/linux/ramips/rt305x/profiles/n13u.mk
diff --git a/target/linux/ramips/rt305x/profiles/asus.mk b/target/linux/ramips/rt305x/profiles/asus.mk
new file mode 100644
index 0000000..fcf4aa4
--- /dev/null
+++ b/target/linux/ramips/rt305x/profiles/asus.mk
@@ -0,0 +1,27 @@
+#
+# Copyright (C) 2014 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/RT-N10-PLUS
+ NAME:=Asus RT-N10+
+ PACKAGES:=kmod-leds-gpio wpa
+endef
+
+define Profile/RT-N10-PLUS/Description
+ Package set for Asus RT-N10+.
+endef
+
+define Profile/RT-N13U
+ NAME:=Asus RT-N13U
+ PACKAGES:=kmod-leds-gpio kmod-rt2800-pci wpad-mini kmod-usb-rt305x-dwc_otg
+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/aztech.mk b/target/linux/ramips/rt305x/profiles/aztech.mk
index ab2d8cb..10bc80b 100644
--- a/target/linux/ramips/rt305x/profiles/aztech.mk
+++ b/target/linux/ramips/rt305x/profiles/aztech.mk
@@ -5,7 +5,7 @@
# See /LICENSE for more information.
#
-define Profile/HW5503G
+define Profile/HW550-3G
NAME:=Aztech HW550-3G
PACKAGES:=\
kmod-usb-core kmod-usb-rt305x-dwc_otg \
@@ -16,4 +16,4 @@ define Profile/HW5503G/Description
Package set for Aztech HW550-3G
endef
-$(eval $(call Profile,HW5503G))
+$(eval $(call Profile,HW550-3G))
diff --git a/target/linux/ramips/rt305x/profiles/n10-plus.mk (revision 0) b/target/linux/ramips/rt305x/profiles/n10-plus.mk (revision 0)
deleted file mode 100644
index 8c122f7..0000000
--- a/target/linux/ramips/rt305x/profiles/n10-plus.mk (revision 0)
+++ /dev/null
@@ -1,17 +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/RT-N10-PLUS
- NAME:=Asus RT-N10+
- PACKAGES:=kmod-leds-gpio wpa
-endef
-
-define Profile/RT-N10-PLUS/Description
- Package set for Asus RT-N10+.
-endef
-
-$(eval $(call Profile,RT-N10-PLUS))
diff --git a/target/linux/ramips/rt305x/profiles/n13u.mk b/target/linux/ramips/rt305x/profiles/n13u.mk
deleted file mode 100644
index 6c81722..0000000
--- a/target/linux/ramips/rt305x/profiles/n13u.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Copyright (C) 2010 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/RT-N13U
- NAME:=Asus RT-N13U
- PACKAGES:=kmod-leds-gpio kmod-rt2800-pci wpad-mini kmod-usb-rt305x-dwc_otg
-endef
-
-define Profile/RT-N13U/Description
- Package set for Asus RT-N13U.
-endef
-
-$(eval $(call Profile,RT-N13U))
--
1.9.3
_______________________________________________
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