From 57e614c1790e316ef8b5b8cb0cd4ae4dcb185d3d Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 17 Aug 2015 06:01:38 +0000 Subject: 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 --- 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 ++++++++++++++++++ 5 files changed, 44 insertions(+), 46 deletions(-) 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 (limited to 'target/linux/ramips/mt7621/profiles') 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/misc.mk b/target/linux/ramips/mt7621/profiles/misc.mk new file mode 100644 index 0000000000..9db0cd561f --- /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 9773b3174b..0000000000 --- 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 9ca4a2f743..0000000000 --- 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 0000000000..9ca4a2f743 --- /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)) -- cgit v1.2.3