From c9c621207595e7ddcb07dd737aff732b94830b30 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46631 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 +++++----- 4 files changed, 22 insertions(+), 15 deletions(-) create mode 100644 target/linux/ramips/mt7620/profiles/microduino.mk delete mode 100644 target/linux/ramips/mt7620/profiles/microwrt.mk (limited to 'target/linux/ramips/mt7620/profiles') 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)) -- cgit v1.2.3