From ec86d2a605743eab172badf0b98406b8fa11e66b Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@nbd.name>
Date: Mon, 23 May 2016 17:51:19 +0200
Subject: ar71xx: enable profile sorting in preparation for adding device
 profiles

Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
 target/linux/ar71xx/generic/profiles/00-default.mk  | 1 +
 target/linux/ar71xx/generic/profiles/01-minimal.mk  | 1 +
 target/linux/ar71xx/generic/profiles/02-ath5k.mk    | 1 +
 target/linux/ar71xx/mikrotik/profiles/01-minimal.mk | 1 +
 target/linux/ar71xx/mikrotik/profiles/02-ath5k.mk   | 1 +
 5 files changed, 5 insertions(+)

(limited to 'target/linux')

diff --git a/target/linux/ar71xx/generic/profiles/00-default.mk b/target/linux/ar71xx/generic/profiles/00-default.mk
index 36c4aa6..bf0f3fa 100644
--- a/target/linux/ar71xx/generic/profiles/00-default.mk
+++ b/target/linux/ar71xx/generic/profiles/00-default.mk
@@ -9,6 +9,7 @@ define Profile/Default
 	NAME:=Default Profile (all drivers)
 	PACKAGES:= \
 		kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev
+	PRIORITY := 1
 endef
 
 define Profile/Default/Description
diff --git a/target/linux/ar71xx/generic/profiles/01-minimal.mk b/target/linux/ar71xx/generic/profiles/01-minimal.mk
index dfaa3b0..54e6c6d 100644
--- a/target/linux/ar71xx/generic/profiles/01-minimal.mk
+++ b/target/linux/ar71xx/generic/profiles/01-minimal.mk
@@ -8,6 +8,7 @@
 define Profile/Minimal
 	NAME:=Minimal Profile (no drivers)
 	PACKAGES:=-kmod-ath9k -wpad-mini
+	PRIORITY := 2
 endef
 
 define Profile/Minimal/Description
diff --git a/target/linux/ar71xx/generic/profiles/02-ath5k.mk b/target/linux/ar71xx/generic/profiles/02-ath5k.mk
index 7820349..baa92b3 100644
--- a/target/linux/ar71xx/generic/profiles/02-ath5k.mk
+++ b/target/linux/ar71xx/generic/profiles/02-ath5k.mk
@@ -8,6 +8,7 @@
 define Profile/ath5k
 	NAME:=Atheros 802.11abg WiFi (ath5k)
 	PACKAGES:=kmod-ath5k -kmod-ath9k
+	PRIORITY := 3
 endef
 
 define Profile/ath5k/Description
diff --git a/target/linux/ar71xx/mikrotik/profiles/01-minimal.mk b/target/linux/ar71xx/mikrotik/profiles/01-minimal.mk
index 3651c88..a334977 100644
--- a/target/linux/ar71xx/mikrotik/profiles/01-minimal.mk
+++ b/target/linux/ar71xx/mikrotik/profiles/01-minimal.mk
@@ -8,6 +8,7 @@
 define Profile/DefaultNoWifi
 	NAME:=Default Profile (no WiFi)
 	PACKAGES:=
+	PRIORITY := 2
 endef
 
 define Profile/DefaultNoWifi/Description
diff --git a/target/linux/ar71xx/mikrotik/profiles/02-ath5k.mk b/target/linux/ar71xx/mikrotik/profiles/02-ath5k.mk
index a291ff6..fa304b7 100644
--- a/target/linux/ar71xx/mikrotik/profiles/02-ath5k.mk
+++ b/target/linux/ar71xx/mikrotik/profiles/02-ath5k.mk
@@ -8,6 +8,7 @@
 define Profile/Ath5k
 	NAME:=Atheros WiFi (ath5k)
 	PACKAGES:=kmod-ath5k -kmod-ath9k
+	PRIORITY := 3
 endef
 
 define Profile/Ath5k/Description
-- 
cgit v1.1