[source] ar71xx: create a proper default profile for the mikrotik subtarget, drop other profiles

LEDE Commits lede-commits at lists.infradead.org
Mon Jan 16 11:40:19 PST 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/0e547400fbcc4b6610d3b810f123d4963f9b2ea7

commit 0e547400fbcc4b6610d3b810f123d4963f9b2ea7
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Sat Jan 7 20:54:42 2017 +0100

    ar71xx: create a proper default profile for the mikrotik subtarget, drop other profiles
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 .../mikrotik/profiles/{01-minimal.mk => 00-default.mk}  | 12 ++++++------
 target/linux/ar71xx/mikrotik/profiles/02-ath5k.mk       | 17 -----------------
 2 files changed, 6 insertions(+), 23 deletions(-)

diff --git a/target/linux/ar71xx/mikrotik/profiles/01-minimal.mk b/target/linux/ar71xx/mikrotik/profiles/00-default.mk
similarity index 51%
rename from target/linux/ar71xx/mikrotik/profiles/01-minimal.mk
rename to target/linux/ar71xx/mikrotik/profiles/00-default.mk
index a334977..f3dfeef 100644
--- a/target/linux/ar71xx/mikrotik/profiles/01-minimal.mk
+++ b/target/linux/ar71xx/mikrotik/profiles/00-default.mk
@@ -5,13 +5,13 @@
 # See /LICENSE for more information.
 #
 
-define Profile/DefaultNoWifi
-	NAME:=Default Profile (no WiFi)
-	PACKAGES:=
-	PRIORITY := 2
+define Profile/Default
+	NAME:=Default Profile
+	PACKAGES:= \
+		kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport nand-utils
 endef
 
-define Profile/DefaultNoWifi/Description
+define Profile/Default/Description
 	Default package set compatible with most boards.
 endef
-$(eval $(call Profile,DefaultNoWifi))
+$(eval $(call Profile,Default))
diff --git a/target/linux/ar71xx/mikrotik/profiles/02-ath5k.mk b/target/linux/ar71xx/mikrotik/profiles/02-ath5k.mk
deleted file mode 100644
index fa304b7..0000000
--- a/target/linux/ar71xx/mikrotik/profiles/02-ath5k.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Copyright (C) 2009-2012 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/Ath5k
-	NAME:=Atheros WiFi (ath5k)
-	PACKAGES:=kmod-ath5k -kmod-ath9k
-	PRIORITY := 3
-endef
-
-define Profile/Ath5k/Description
-	Package set compatible with hardware using Atheros WiFi cards.
-endef
-$(eval $(call Profile,Ath5k))



More information about the lede-commits mailing list