[rt2x00-users] [PATCH] compat-wireless: rt2x00 added to driver-select

Walter Goldens goldenstranger at yahoo.com
Wed May 5 19:44:32 AEST 2010


Signed-off-by: Walter Goldens <goldenstranger at yahoo.com>
---

With the ever expanding and improving rt2x00 supporting myriad of devices, I think its about time we enabled faster compilation via scripts/driver-select.

--- a/scripts/driver-select	2010-05-05 12:02:23.000000000 +0300
+++ b/scripts/driver-select	2010-05-05 12:02:01.000000000 +0300
@@ -7,6 +7,7 @@
 DRIVERS_MAKEFILE="drivers/net/wireless/Makefile"
 ATH_MAKEFILE="drivers/net/wireless/ath/Makefile"
 ATH9K_MAKEFILE="drivers/net/wireless/ath/ath9k/Makefile"
+RT2X00_MAKEFILE="drivers/net/wireless/rt2x00/Makefile"
 NET_WIRELESS_MAKEFILE="net/wireless/Makefile"
 EEPROM_MAKEFILE="drivers/misc/eeprom/Makefile"
 DRIVERS_NET="drivers/net/Makefile"
@@ -29,7 +30,7 @@ PURPLE="\033[35m"
 CYAN="\033[36m"
 UNDERLINE="\033[02m"
 
-SUPPORTED_DRIVERS="ath5k ath9k ath9k_htc ar9170 b43 zd1211rw"
+SUPPORTED_DRIVERS="ath5k ath9k ath9k_htc ar9170 b43 zd1211rw rt2x00"
 
 function usage {
 	echo -e "${GREEN}Usage${NORMAL}: ${CYAN}$0${NORMAL} [ ${PURPLE}<driver-name>${NORMAL} | ${PURPLE}<driver-group-name>${NORMAL} | ${GREEN}restore${NORMAL} ]"
@@ -293,6 +294,10 @@ case $1 in
 		disable_var_03
 		select_driver		CONFIG_B43
 		;;
+	rt2x00)
+		select_driver		CONFIG_RT2X00
+		disable_var_02
+		;;
 	*)
 		echo "Unsupported driver"
 		exit
 


      




More information about the users mailing list