From: Hauke Mehrtens <hauke@hauke-m.de>
To: Johannes Berg <johannes@sipsolutions.net>, backports@vger.kernel.org
Cc: Johannes Berg <johannes.berg@intel.com>
Subject: Re: [PATCH] gentree: fix Makefile symbol disabling
Date: Sat, 7 Nov 2015 18:07:36 +0100 [thread overview]
Message-ID: <563E2FD8.3050208@hauke-m.de> (raw)
In-Reply-To: <1446797770-32354-1-git-send-email-johannes@sipsolutions.net>
On 11/06/2015 09:16 AM, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@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.berg@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
prev parent reply other threads:[~2015-11-07 17:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-06 8:16 [PATCH] gentree: fix Makefile symbol disabling Johannes Berg
2015-11-07 17:07 ` Hauke Mehrtens [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=563E2FD8.3050208@hauke-m.de \
--to=hauke@hauke-m.de \
--cc=backports@vger.kernel.org \
--cc=johannes.berg@intel.com \
--cc=johannes@sipsolutions.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox