From: Michael Olbrich <mol@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] barebox, kernel: enable use of {allyes, allno, allmod, alldef, rand}config
Date: Mon, 17 Aug 2020 08:18:22 +0200 [thread overview]
Message-ID: <E1k7YTO-0008C0-B7@dude02.hi.pengutronix.de> (raw)
In-Reply-To: <20200807104425.30276-2-rhi@pengutronix.de>
Thanks, applied as b0f9f2fe33ca9027a554395c7ff467cabdc255e3.
Michael
[sent from post-receive hook]
On Mon, 17 Aug 2020 08:18:22 +0200, Roland Hieber <rhi@pengutronix.de> wrote:
> These config targets are documented in the man page, but until now, they
> only resulted in an error:
>
> $ ptxdist alldefconfig kernel
> ptxdist: Checking dependencies. This may take some seconds.
>
> make: *** No rule to make target 'kernel_alldefconfig'. Stop.
>
> Both kernel and barebox support all config targets which can be given on
> the ptxdist command line, so keep the match in the make recipe broad, as
> the ptxdist option parser will catch unknown config targets.
>
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> Message-Id: <20200807104425.30276-2-rhi@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/barebox.make b/rules/barebox.make
> index 2a9262a44032..90e193c8ea9a 100644
> --- a/rules/barebox.make
> +++ b/rules/barebox.make
> @@ -206,7 +206,7 @@ $(STATEDIR)/barebox.clean:
> # oldconfig / menuconfig
> # ----------------------------------------------------------------------------
>
> -barebox_oldconfig barebox_menuconfig barebox_nconfig: $(STATEDIR)/barebox.extract
> +barebox_%config: $(STATEDIR)/barebox.extract
> @$(call world/kconfig, BAREBOX, $(subst barebox_,,$@))
>
> # vim: syntax=make
> diff --git a/rules/barebox_mlo.make b/rules/barebox_mlo.make
> index f0d79f151e08..ffb2741dae7f 100644
> --- a/rules/barebox_mlo.make
> +++ b/rules/barebox_mlo.make
> @@ -97,7 +97,7 @@ $(STATEDIR)/barebox_mlo.clean:
> # oldconfig / menuconfig
> # ----------------------------------------------------------------------------
>
> -barebox_mlo_oldconfig barebox_mlo_menuconfig barebox_mlo_nconfig: $(STATEDIR)/barebox_mlo.extract
> +barebox_mlo_%config: $(STATEDIR)/barebox_mlo.extract
> @if test -e $(BAREBOX_MLO_CONFIG); then \
> cp $(BAREBOX_MLO_CONFIG) $(BAREBOX_MLO_DIR)/.config; \
> fi
> diff --git a/rules/kernel.make b/rules/kernel.make
> index c91267c34da0..593e03dc4a3e 100644
> --- a/rules/kernel.make
> +++ b/rules/kernel.make
> @@ -322,7 +322,7 @@ endif
> # oldconfig / menuconfig
> # ----------------------------------------------------------------------------
>
> -kernel_oldconfig kernel_menuconfig kernel_nconfig: $(STATEDIR)/kernel.extract
> +kernel_%config: $(STATEDIR)/kernel.extract
> @$(call world/kconfig, KERNEL, $(subst kernel_,,$@))
>
> # vim: syntax=make
> diff --git a/rules/templates/template-barebox-imx-habv4-make b/rules/templates/template-barebox-imx-habv4-make
> index 3ee6e83805bb..a7d287822547 100644
> --- a/rules/templates/template-barebox-imx-habv4-make
> +++ b/rules/templates/template-barebox-imx-habv4-make
> @@ -111,7 +111,7 @@ $(STATEDIR)/barebox-@package@.clean:
> # oldconfig / menuconfig
> # ----------------------------------------------------------------------------
>
> -barebox-@package@_oldconfig barebox-@package@_menuconfig barebox-@package@_nconfig: $(STATEDIR)/barebox-@package@.extract
> +barebox-@package@_%config: $(STATEDIR)/barebox-@package@.extract
> @$(call world/kconfig, BAREBOX_@PACKAGE@, $(subst barebox-@package@_,,$@))
>
> # vim: syntax=make
> diff --git a/rules/templates/template-barebox-make b/rules/templates/template-barebox-make
> index 9bed9dbeb7c9..ae7e06038e23 100644
> --- a/rules/templates/template-barebox-make
> +++ b/rules/templates/template-barebox-make
> @@ -91,7 +91,7 @@ $(STATEDIR)/barebox-@package@.clean:
> # oldconfig / menuconfig
> # ----------------------------------------------------------------------------
>
> -barebox-@package@_oldconfig barebox-@package@_menuconfig barebox-@package@_nconfig: $(STATEDIR)/barebox-@package@.extract
> +barebox-@package@_%config: $(STATEDIR)/barebox-@package@.extract
> @$(call world/kconfig, BAREBOX_@PACKAGE@, $(subst barebox-@package@_,,$@))
>
> # vim: syntax=make
> diff --git a/rules/templates/template-kernel-make b/rules/templates/template-kernel-make
> index c53110165ec3..697c18145cec 100644
> --- a/rules/templates/template-kernel-make
> +++ b/rules/templates/template-kernel-make
> @@ -114,7 +114,7 @@ $(STATEDIR)/kernel-@package@.targetinstall:
> # oldconfig / menuconfig
> # ----------------------------------------------------------------------------
>
> -kernel-@package@_oldconfig kernel-@package@_menuconfig kernel-@package@_nconfig: $(STATEDIR)/kernel-@package@.extract
> +kernel-@package@_%config: $(STATEDIR)/kernel-@package@.extract
> @$(call world/kconfig, KERNEL_@PACKAGE@, $(subst kernel-@package@_,,$@))
>
> # vim: syntax=make
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next prev parent reply other threads:[~2020-08-17 6:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-07 10:44 [ptxdist] [PATCH 1/3] barebox, kernel: set <PKG>_CONF_TOOL := kconfig explicitely Roland Hieber
2020-08-07 10:44 ` [ptxdist] [PATCH 2/3] barebox, kernel: enable use of {allyes, allno, allmod, alldef, rand}config Roland Hieber
2020-08-17 6:18 ` Michael Olbrich [this message]
2020-08-07 10:44 ` [ptxdist] [PATCH 3/3] doc: ref parameter: document 'alldefconfig' Roland Hieber
2020-08-17 6:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-08-07 12:43 ` [ptxdist] [PATCH 1/3] barebox, kernel: set <PKG>_CONF_TOOL := kconfig explicitely Michael Olbrich
2020-08-19 11:27 ` [ptxdist] [PATCH v2 1/4] " Roland Hieber
2020-08-19 11:27 ` [ptxdist] [PATCH v2 2/4] barebox, kernel: tab-align variables Roland Hieber
2020-09-04 17:01 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-08-19 11:27 ` [ptxdist] [PATCH v2 3/4] platforms/kernel: re-align KERNEL_IMAGE defaults Roland Hieber
2020-09-04 17:01 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-08-19 11:27 ` [ptxdist] [PATCH v2 4/4] kernel: fix some typos in comments Roland Hieber
2020-09-04 17:01 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-04 17:01 ` [ptxdist] [APPLIED] barebox, kernel: set <PKG>_CONF_TOOL := kconfig explicitely Michael Olbrich
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=E1k7YTO-0008C0-B7@dude02.hi.pengutronix.de \
--to=mol@pengutronix.de \
--cc=ptxdist@pengutronix.de \
--cc=rhi@pengutronix.de \
/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