Search Linux Wireless

[PATCH] compat: make driver-select only select complete lines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Johannes Berg <johannes.berg@xxxxxxxxx>

Otherwise we end up enabling CONFIG_FOOBAR if
only CONFIG_FOO is requested.

Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
--- a/scripts/driver-select
+++ b/scripts/driver-select
@@ -88,7 +88,7 @@ function disable_makefile
 function select_driver 
 {
 	backup_file $DRIVERS_MAKEFILE
-	perl -i -ne 'print if /'$1'/ ' $DRIVERS_MAKEFILE
+	perl -i -ne 'print if /'$1'\)/ ' $DRIVERS_MAKEFILE
 }
 
 function select_drivers


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux