From: Felix Fietkau Date: Mon, 23 May 2016 15:51:19 +0000 (+0200) Subject: ar71xx: enable profile sorting in preparation for adding device profiles X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ec86d2a605743eab172badf0b98406b8fa11e66b;p=openwrt%2Fstaging%2Fthess.git ar71xx: enable profile sorting in preparation for adding device profiles Signed-off-by: Felix Fietkau --- diff --git a/target/linux/ar71xx/generic/profiles/00-default.mk b/target/linux/ar71xx/generic/profiles/00-default.mk index 36c4aa61b9..bf0f3fa5e6 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 dfaa3b0b37..54e6c6ddfb 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 78203497f3..baa92b3391 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 3651c88ab2..a334977d48 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 a291ff68ae..fa304b7d4c 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