From 0004f7f97a8cefe0e50b1f6b080c32ac7aaa6189 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 17 Aug 2015 06:01:38 +0000 Subject: [PATCH] ramips: fix various mistakes in subtargets *.mk profiles 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 SVN-Revision: 46631 --- .../linux/ramips/mt7620/profiles/mediatek.mk | 2 +- .../ramips/mt7620/profiles/microduino.mk | 16 ++++ .../linux/ramips/mt7620/profiles/microwrt.mk | 9 --- target/linux/ramips/mt7620/profiles/xiaomi.mk | 10 +-- .../linux/ramips/mt7621/profiles/firefly.mk | 12 +-- .../mt7621/profiles/{pbr-m1.mk => misc.mk} | 6 +- .../profiles/{sap-g3200u3.mk => storylink.mk} | 0 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 - .../{freestation5.mk => arcwireless.mk} | 5 +- target/linux/ramips/rt305x/profiles/asiarf.mk | 23 +++--- target/linux/ramips/rt305x/profiles/asus.mk | 8 +- .../linux/ramips/rt305x/profiles/aximcom.mk | 1 - target/linux/ramips/rt305x/profiles/aztech.mk | 1 - target/linux/ramips/rt305x/profiles/belkin.mk | 10 +-- .../linux/ramips/rt305x/profiles/broadway.mk | 1 - .../rt305x/profiles/{dlink.mk => d-link.mk} | 73 +++++++++---------- .../linux/ramips/rt305x/profiles/easyacc.mk | 1 - .../linux/ramips/rt305x/profiles/engenius.mk | 10 +-- target/linux/ramips/rt305x/profiles/fon.mk | 1 - target/linux/ramips/rt305x/profiles/hame.mk | 4 +- target/linux/ramips/rt305x/profiles/hilink.mk | 2 - target/linux/ramips/rt305x/profiles/hootoo.mk | 2 - .../rt305x/profiles/{hg255d.mk => huawei.mk} | 5 +- .../rt305x/profiles/{m2m.mk => intenso.mk} | 1 - target/linux/ramips/rt305x/profiles/misc.mk | 1 - target/linux/ramips/rt305x/profiles/nexx.mk | 1 - .../{rt5350f-olinuxino-evb.mk => olimex.mk} | 16 +++- target/linux/ramips/rt305x/profiles/planex.mk | 1 - target/linux/ramips/rt305x/profiles/poray.mk | 12 +-- .../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 - .../linux/ramips/rt305x/profiles/wansview.mk | 3 +- .../linux/ramips/rt3883/profiles/trendnet.mk | 1 + 38 files changed, 141 insertions(+), 166 deletions(-) create mode 100644 target/linux/ramips/mt7620/profiles/microduino.mk delete mode 100644 target/linux/ramips/mt7620/profiles/microwrt.mk rename target/linux/ramips/mt7621/profiles/{pbr-m1.mk => misc.mk} (90%) rename target/linux/ramips/mt7621/profiles/{sap-g3200u3.mk => storylink.mk} (100%) rename target/linux/ramips/rt305x/profiles/{freestation5.mk => arcwireless.mk} (75%) rename target/linux/ramips/rt305x/profiles/{dlink.mk => d-link.mk} (58%) rename target/linux/ramips/rt305x/profiles/{hg255d.mk => huawei.mk} (84%) rename target/linux/ramips/rt305x/profiles/{m2m.mk => intenso.mk} (99%) rename target/linux/ramips/rt305x/profiles/{rt5350f-olinuxino-evb.mk => olimex.mk} (61%) 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 acb0c0343e..4f6703ebf5 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 0000000000..b68a269841 --- /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 2b0977d669..0000000000 --- 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 47f6d499dd..df5598cad2 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 501a32b557..bc50ab4ed7 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/pbr-m1.mk b/target/linux/ramips/mt7621/profiles/misc.mk similarity index 90% rename from target/linux/ramips/mt7621/profiles/pbr-m1.mk rename to target/linux/ramips/mt7621/profiles/misc.mk index 9773b3174b..9db0cd561f 100644 --- a/target/linux/ramips/mt7621/profiles/pbr-m1.mk +++ b/target/linux/ramips/mt7621/profiles/misc.mk @@ -1,5 +1,5 @@ # -# 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. @@ -7,15 +7,13 @@ 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 - -FEATURES+=rtc - define Profile/PBR-M1/Description Default package set compatible with most boards. endef diff --git a/target/linux/ramips/mt7621/profiles/sap-g3200u3.mk b/target/linux/ramips/mt7621/profiles/storylink.mk similarity index 100% rename from target/linux/ramips/mt7621/profiles/sap-g3200u3.mk rename to target/linux/ramips/mt7621/profiles/storylink.mk diff --git a/target/linux/ramips/rt288x/profiles/asus.mk b/target/linux/ramips/rt288x/profiles/asus.mk index 1e8de5ccd3..aa6fb4d6be 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 608cee9cf5..4a0c62dd5e 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 e625f478bd..eb175ec9ba 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 2b8e3115f3..4ecbd6ac93 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/freestation5.mk b/target/linux/ramips/rt305x/profiles/arcwireless.mk similarity index 75% rename from target/linux/ramips/rt305x/profiles/freestation5.mk rename to target/linux/ramips/rt305x/profiles/arcwireless.mk index ce9c304989..8405f2dc47 100644 --- a/target/linux/ramips/rt305x/profiles/freestation5.mk +++ b/target/linux/ramips/rt305x/profiles/arcwireless.mk @@ -6,13 +6,12 @@ # define Profile/FREESTATION5 - NAME:=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 FreeStation, Flex mARC, iFlex, and SplitStation + 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 a0bd38575d..efa01ea8f4 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 d7fd8ca734..ddfdc1a1e6 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 eb305af6e4..d00e7a992a 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 4333f710eb..e869398050 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 88688d69ba..27c6bf40ba 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 e7833b1f09..b757387d17 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/dlink.mk b/target/linux/ramips/rt305x/profiles/d-link.mk similarity index 58% rename from target/linux/ramips/rt305x/profiles/dlink.mk rename to target/linux/ramips/rt305x/profiles/d-link.mk index 5fc5709d73..05d919ba42 100644 --- a/target/linux/ramips/rt305x/profiles/dlink.mk +++ b/target/linux/ramips/rt305x/profiles/d-link.mk @@ -5,65 +5,64 @@ # 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 \ + 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 Dlink DCS-930 board + Package set for D-Link DCS-930 board endef - $(eval $(call Profile,DCS930)) + define Profile/DCS930LB1 - NAME:=Dlink DCS-930L B1 - PACKAGES:=kmod-video-core kmod-video-uvc \ + 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 Dlink DCS-930L B1 board + Package set for D-Link DCS-930L B1 board endef - $(eval $(call Profile,DCS930LB1)) + define Profile/DIR610A1 - NAME:=Dlink DIR-610 A1 + NAME:=D-Link DIR-610 A1 PACKAGES:=kmod-ledtrig-netdev kmod-ledtrig-timer endef define Profile/DIR610A1/Description - Package set for Dlink DIR610 A1 board + 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/easyacc.mk b/target/linux/ramips/rt305x/profiles/easyacc.mk index 012cfecdc8..6b31673bcd 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 09c716ecd9..cef275ef9f 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 2c0d82a482..cb95ad9f52 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/hame.mk b/target/linux/ramips/rt305x/profiles/hame.mk index 06dfc12c51..2f483a04ac 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/hilink.mk b/target/linux/ramips/rt305x/profiles/hilink.mk index d9783031db..fa6833db00 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 efd23ed11e..216ccff7a4 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/hg255d.mk b/target/linux/ramips/rt305x/profiles/huawei.mk similarity index 84% rename from target/linux/ramips/rt305x/profiles/hg255d.mk rename to target/linux/ramips/rt305x/profiles/huawei.mk index 3bb32dd049..3223e76718 100644 --- a/target/linux/ramips/rt305x/profiles/hg255d.mk +++ b/target/linux/ramips/rt305x/profiles/huawei.mk @@ -6,12 +6,11 @@ # define Profile/HG255D - NAME:=HuaWei HG255D + NAME:=Huawei HG255D PACKAGES:=kmod-leds-gpio wpad-mini kmod-usb-dwc2 endef define Profile/HG255D/Description - Package set for HuaWei HG255D. + Package set for Huawei HG255D. endef - $(eval $(call Profile,HG255D)) diff --git a/target/linux/ramips/rt305x/profiles/m2m.mk b/target/linux/ramips/rt305x/profiles/intenso.mk similarity index 99% rename from target/linux/ramips/rt305x/profiles/m2m.mk rename to target/linux/ramips/rt305x/profiles/intenso.mk index 1b13cc5068..89f3094426 100644 --- a/target/linux/ramips/rt305x/profiles/m2m.mk +++ b/target/linux/ramips/rt305x/profiles/intenso.mk @@ -16,5 +16,4 @@ 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 cf7db6a6cd..62a1d94e75 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 eaef4c1abd..52f132e411 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/rt5350f-olinuxino-evb.mk b/target/linux/ramips/rt305x/profiles/olimex.mk similarity index 61% rename from target/linux/ramips/rt305x/profiles/rt5350f-olinuxino-evb.mk rename to target/linux/ramips/rt305x/profiles/olimex.mk index 61f5ddbf76..0c6276af78 100644 --- a/target/linux/ramips/rt305x/profiles/rt5350f-olinuxino-evb.mk +++ b/target/linux/ramips/rt305x/profiles/olimex.mk @@ -5,6 +5,20 @@ # 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:=\ @@ -16,6 +30,4 @@ 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 d0d9ac949c..50ce382db9 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 572d0e3351..7a68a5fe91 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.mk b/target/linux/ramips/rt305x/profiles/rt5350f-olinuxino.mk deleted file mode 100644 index 3b201902b5..0000000000 --- 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 36ba822b44..a3c5d3b661 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 590abb0411..c5d60f558c 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 92f3ce58ed..2ba3499c22 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 064cc0613d..0908a9c4bd 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 89867acb0d..5a055ae6fd 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.30.2