From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/2] randconfig, allyesconfig: fix handling of legacy options
Date: Tue, 14 Oct 2014 09:18:18 +0200 [thread overview]
Message-ID: <20141014071817.GA3730@free.fr> (raw)
In-Reply-To: <1413138065-6138-1-git-send-email-arnout@mind.be>
Arnout, All,
On 2014-10-12 20:21 +0200, Arnout Vandecappelle (Essensium/Mind) spake thusly:
> Randconfig and allyesconfig should never select legacy options, so use
> the same trick as allpackageyesconfig and randpackageconfig to remove
> them.
>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> Makefile | 18 ++++++++++++++++--
> 1 file changed, 16 insertions(+), 2 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 907a0fc..5bcaa77 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -731,11 +731,25 @@ oldconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
>
> randconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
> @mkdir -p $(BUILD_DIR)/buildroot-config
> - @$(COMMON_CONFIG_ENV) $< --randconfig $(CONFIG_CONFIG_IN)
> + @rm -f $(CONFIG_DIR)/.config.nopkg
> + @grep '^config ' Config.in.legacy | \
> + while read config pkg; do \
> + echo "# $$pkg is not set" >> $(CONFIG_DIR)/.config.nopkg; done
> + @$(COMMON_CONFIG_ENV) \
> + KCONFIG_ALLCONFIG=$(CONFIG_DIR)/.config.nopkg \
> + $< --randconfig $(CONFIG_CONFIG_IN)
> + @rm -f $(CONFIG_DIR)/.config.nopkg
>
> allyesconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
> @mkdir -p $(BUILD_DIR)/buildroot-config
> - @$(COMMON_CONFIG_ENV) $< --allyesconfig $(CONFIG_CONFIG_IN)
> + @rm -f $(CONFIG_DIR)/.config.nopkg
> + @grep '^config ' Config.in.legacy | \
> + while read config pkg; do \
> + echo "# $$pkg is not set" >> $(CONFIG_DIR)/.config.nopkg; done
> + @$(COMMON_CONFIG_ENV) \
> + KCONFIG_ALLCONFIG=$(CONFIG_DIR)/.config.nopkg \
> + $< --allyesconfig $(CONFIG_CONFIG_IN)
> + @rm -f $(CONFIG_DIR)/.config.nopkg
>
> allnoconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
> @mkdir -p $(BUILD_DIR)/buildroot-config
> --
> 2.1.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
prev parent reply other threads:[~2014-10-14 7:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-19 23:25 [Buildroot] [PATCH RFC] kconfig: allow pre-seending randpackageconfig Yann E. MORIN
2014-08-05 19:10 ` Thomas De Schampheleire
2014-10-12 17:26 ` [Buildroot] [PATCH] randconfig: seed with BR2_RAND_PRESEED_CONFIG Arnout Vandecappelle
2014-10-12 18:21 ` [Buildroot] [PATCH v2 1/2] randconfig, allyesconfig: fix handling of legacy options Arnout Vandecappelle
2014-10-12 18:21 ` [Buildroot] [PATCH v2 2/2] randconfig: seed with BR2_RAND_PRESEED_CONFIG_FILES Arnout Vandecappelle
2014-10-14 7:32 ` Yann E. MORIN
2014-10-14 9:08 ` Arnout Vandecappelle
2014-10-14 7:18 ` Yann E. MORIN [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=20141014071817.GA3730@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.