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 <pepe2k@gmail.com>

SVN-Revision: 46631
This commit is contained in:
John Crispin 2015-08-17 06:01:38 +00:00
parent 0d464c360f
commit 57e614c179
38 changed files with 145 additions and 170 deletions

View File

@ -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))

View File

@ -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))

View File

@ -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))

View File

@ -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))

View File

@ -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))

View File

@ -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

View File

@ -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))

View File

@ -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))

View File

@ -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))

View File

@ -15,5 +15,4 @@ endef
define Profile/ASL26555/Description
Package set for Alpha ASL26555
endef
$(eval $(call Profile,ASL26555))

View File

@ -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))

View File

@ -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))

View File

@ -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))

View File

@ -13,5 +13,4 @@ endef
define Profile/MR102N/Description
Package set for AXIMCom MR-102N
endef
$(eval $(call Profile,MR102N))

View File

@ -15,5 +15,4 @@ endef
define Profile/HW550-3G/Description
Package set for Aztech HW550-3G
endef
$(eval $(call Profile,HW550-3G))

View File

@ -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))

View File

@ -15,5 +15,4 @@ endef
define Profile/BROADWAY/Description
Package set for Hauppauge Broadway
endef
$(eval $(call Profile,BROADWAY))

View File

@ -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
$(eval $(call Profile,DIR610A1))
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))

View File

@ -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))

View File

@ -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))

View File

@ -15,5 +15,4 @@ endef
define Profile/FONERA20N/Description
Package set for Fonera 2.0N
endef
$(eval $(call Profile,FONERA20N))

View File

@ -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))

View File

@ -12,6 +12,4 @@ endef
define Profile/HLKRM04/Description
Package set for HiLink RM04 Module
endef
$(eval $(call Profile,HLKRM04))

View File

@ -13,6 +13,4 @@ endef
define Profile/HT-TM02/Description
Package set optimized for the HooToo HT-TM02.
endef
$(eval $(call Profile,HT-TM02))

View File

@ -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))

View File

@ -16,5 +16,4 @@ endef
define Profile/M2M/Description
Package set for Intenso Memory 2 Move USB 3.0
endef
$(eval $(call Profile,M2M))

View File

@ -14,5 +14,4 @@ endef
define Profile/A5-V11/Description
Package set for A5-V11
endef
$(eval $(call Profile,A5-V11))

View File

@ -13,5 +13,4 @@ endef
define Profile/WT1520/Description
Package set for WT1520
endef
$(eval $(call Profile,WT1520))

View File

@ -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))

View File

@ -13,5 +13,4 @@ endef
define Profile/MZK-DP150N/Description
Package set optimized for the Planex MZK-DP150N.
endef
$(eval $(call Profile,MZK-DP150N))

View File

@ -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))

View File

@ -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))

View File

@ -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))

View File

@ -5,18 +5,6 @@
# See /LICENSE for more information.
#
define Profile/UR-336UN
NAME:=UPVEL UR-336UN
PACKAGES:=\
kmod-usb-core kmod-usb-dwc2 \
kmod-ledtrig-usbdev
endef
define Profile/UR-336UN/Description
Default package set compatible with URVEL router board.
endef
$(eval $(call Profile,UR-336UN))
define Profile/UR-326N4G
NAME:=UPVEL UR-326N4G
PACKAGES:=\
@ -28,3 +16,16 @@ define Profile/UR-326N4G/Description
Default package set compatible with URVEL router board.
endef
$(eval $(call Profile,UR-326N4G))
define Profile/UR-336UN
NAME:=UPVEL UR-336UN
PACKAGES:=\
kmod-usb-core kmod-usb-dwc2 \
kmod-ledtrig-usbdev
endef
define Profile/UR-336UN/Description
Default package set compatible with URVEL router board.
endef
$(eval $(call Profile,UR-336UN))

View File

@ -16,5 +16,4 @@ endef
define Profile/VOCORE/Description
Package set for VoCore board
endef
$(eval $(call Profile,VOCORE))

View File

@ -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))

View File

@ -15,6 +15,7 @@ define Profile/TEW691GR/Description
endef
$(eval $(call Profile,TEW691GR))
define Profile/TEW692GR
NAME:=TRENDnet TEW-692GR
PACKAGES:=swconfig