From: Michal Marek <mmarek@suse.cz>
To: Ben Hutchings <ben@decadent.org.uk>
Cc: maximilian attems <max@stro.at>,
linux-kbuild@vger.kernel.org, Bastian Blank <waldi@debian.org>
Subject: Re: [PATCH 1/2] Kbuild: Treat KBUILD_DEFCONFIG=old as request to use .config as the base
Date: Fri, 01 Oct 2010 16:05:11 +0200 [thread overview]
Message-ID: <4CA5EA97.3060405@suse.cz> (raw)
In-Reply-To: <1284436209.5323.744.camel@localhost>
On 14.9.2010 05:50, Ben Hutchings wrote:
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
> ---
> This should work as a substitute for Debian's updateoldconfig.
>
> Ben.
>
> scripts/kconfig/Makefile | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
> index cef3f75..19558a7 100644
> --- a/scripts/kconfig/Makefile
> +++ b/scripts/kconfig/Makefile
> @@ -112,9 +112,13 @@ defconfig: $(obj)/conf
> ifeq ($(KBUILD_DEFCONFIG),)
> $< --defconfig $(Kconfig)
> else
> +ifeq ($(KBUILD_DEFCONFIG),old)
> + $< --defconfig=.config $(Kconfig)
> +else
> @echo "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'"
> $(Q)$< --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig)
> endif
> +endif
KBUILD_DEFCONFIG is an internal variable used by arch Makefiles to
select the defconfig file, it should not be abused for a completely
different purpose. Also, the same can be achieved with 'make
oldnoconfig' or 'yes "" | make oldconfig' in older kernels.
Michal
next prev parent reply other threads:[~2010-10-01 14:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-13 14:38 Kconfig add reportoldconfig and updateoldconfig targets maximilian attems
2010-09-13 14:54 ` Michal Marek
2010-09-14 3:50 ` [PATCH 1/2] Kbuild: Treat KBUILD_DEFCONFIG=old as request to use .config as the base Ben Hutchings
2010-10-01 14:05 ` Michal Marek [this message]
2010-10-01 22:47 ` Ben Hutchings
2010-10-02 12:14 ` Sam Ravnborg
2010-09-14 3:52 ` [PATCH 2/2] Kbuild: kconfig: Verbose version of --listnewconfig and --defconfig Ben Hutchings
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=4CA5EA97.3060405@suse.cz \
--to=mmarek@suse.cz \
--cc=ben@decadent.org.uk \
--cc=linux-kbuild@vger.kernel.org \
--cc=max@stro.at \
--cc=waldi@debian.org \
/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.