From: Sam Ravnborg <sam@ravnborg.org>
To: "Randy.Dunlap" <rddunlap@osdl.org>
Cc: Andy Whitcroft <apw@shadowen.org>,
akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] consolidate in kernel configuration
Date: Wed, 23 Jun 2004 23:32:21 +0200 [thread overview]
Message-ID: <20040623213220.GB2750@mars.ravnborg.org> (raw)
In-Reply-To: <20040623105346.018d90db.rddunlap@osdl.org>
On Wed, Jun 23, 2004 at 10:53:46AM -0700, Randy.Dunlap wrote:
>
> We also need a decent way to run scripts/extract-ikconfig and build
> scripts/binoffset. I recall that SuSE has/had a 'make cloneconfig'
> once upon a time (in 2.4.x). I've begun on a 'make getconfig' (but
> I can rename it to 'cloneconfig' if that's more appropriate), but
> it needs some more work (i.e., not yet working). [patch below]
>
>
> Thanks,
> --
> ~Randy
>
>
>
> (beginning, not working...)
> add 'getconfig' target to extract kernel config from the kernel image file
>
> Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
>
> diffstat:=
> Makefile | 6 ++++++
> scripts/Makefile | 3 ++-
> 2 files changed, 8 insertions(+), 1 deletion(-)
>
> diff -Naurp ./scripts/Makefile~getconfig ./scripts/Makefile
> --- ./scripts/Makefile~getconfig 2004-06-23 07:21:28.000000000 -0700
> +++ ./scripts/Makefile 2004-06-23 09:16:06.266845368 -0700
> @@ -5,7 +5,8 @@
> # docproc: Preprocess .tmpl file in order to generate .sgml docs
> # conmakehash: Create arrays for initializing the kernel console tables
>
> -host-progs := conmakehash kallsyms modpost mk_elfconfig pnmtologo bin2c
> +host-progs := conmakehash kallsyms modpost mk_elfconfig pnmtologo \
> + bin2c binoffset
> always := $(host-progs) empty.o
>
> modpost-objs := modpost.o file2alias.o sumversion.o
> diff -Naurp ./Makefile~getconfig ./Makefile
> --- ./Makefile~getconfig 2004-06-23 07:21:23.000000000 -0700
> +++ ./Makefile 2004-06-23 09:22:46.571989736 -0700
> @@ -675,6 +675,11 @@ include/config/MARKER: include/linux/aut
> @scripts/basic/split-include include/linux/autoconf.h include/config
> @touch $@
>
> +.PHONY: getconfig
> +getconfig: $(srctree)/scripts/binoffset
> + scripts/extract-ikconfig $@
There is a conflict with what rule to select here since all *config targets are sent to
scripts/kconfig.
Since what is done here is handling the kernel config maybe everything should be
moved there?
Sam
next prev parent reply other threads:[~2004-06-23 21:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-22 15:57 Andy Whitcroft
2004-06-22 18:15 ` Andrew Morton
2004-06-23 14:28 ` Andy Whitcroft
2004-06-23 17:53 ` Randy.Dunlap
2004-06-23 21:32 ` Sam Ravnborg [this message]
2004-06-23 21:23 ` Randy.Dunlap
2004-06-22 18:31 ` Christoph Hellwig
2004-06-22 19:08 ` Sam Ravnborg
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=20040623213220.GB2750@mars.ravnborg.org \
--to=sam@ravnborg.org \
--cc=akpm@osdl.org \
--cc=apw@shadowen.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rddunlap@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®