2011-10-06 09:15:49

by Johannes Berg

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

From: Johannes Berg <[email protected]>

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

Signed-off-by: Johannes Berg <[email protected]>
--- 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




2011-10-06 15:14:22

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: [PATCH] compat: make driver-select only select complete lines

On Thu, Oct 6, 2011 at 2:15 AM, Johannes Berg <[email protected]> wrote:
> From: Johannes Berg <[email protected]>
>
> Otherwise we end up enabling CONFIG_FOOBAR if
> only CONFIG_FOO is requested.
>
> Signed-off-by: Johannes Berg <[email protected]>

Thanks, applied and pushed!

Luis