On 11/06/2015 09:16 AM, Johannes Berg wrote:
> From: Johannes Berg <johannes.b...@intel.com>
> 
> Currently, a Makefile line like this:
> 
>     obj-$(CONFIG_IPW2100) += ipw2x00/
> 
> will get mangled into
> 
>     #obj-$(CONFIG_IPW2100+= ipw2x00/
> 
> when disabled by the gentree script. Fix the regular
> expression to contain the entire match as the first
> group, so it gets all preserved when replaced later
> by "#\1" using expression.sub().
> 
> This then makes it come out as
> 
>     #obj-$(CONFIG_IPW2100) += ipw2x00/
> 
> Signed-off-by: Johannes Berg <johannes.b...@intel.com>
> ---
>  gentree.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
Thank you for the patch, it was applied.

Hauke

--
To unsubscribe from this list: send the line "unsubscribe backports" in

Reply via email to