mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: "Robert P. J. Day" <rpjday@mindspring.com>
Cc: Linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: why is "scripts/elfconfig.h" not removed with "make mrproper"?
Date: Tue, 18 Feb 2003 18:16:48 +0100	[thread overview]
Message-ID: <20030218171648.GA2470@mars.ravnborg.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0302181059210.15334-100000@dell>

On Tue, Feb 18, 2003 at 11:01:29AM -0500, Robert P. J. Day wrote:
> 
>   i just verified that the original 2.5.62 kernel tree does not
> start with the header file "scripts/elfconfig.h".  this file is
> created by running "make xconfig", even when nothing is configured.
> but that file is *not* removed by running "make mrproper", which
> i would think it should be.
> 
>   won't this cause a problem when generating patches, since
> that elfconfig.h file will show up every time?

The following patch fixes this:

===== scripts/Makefile 1.30 vs edited =====
--- 1.30/scripts/Makefile	Mon Feb 17 04:20:26 2003
+++ edited/scripts/Makefile	Tue Feb 18 18:12:22 2003
@@ -11,6 +11,7 @@
 host-progs    := fixdep split-include conmakehash docproc kallsyms modpost \
 		 mk_elfconfig
 build-targets := $(host-progs) empty.o
+EXTRA_TARGETS := elfconfig.h
 
 modpost-objs  := modpost.o file2alias.o
 
@@ -30,4 +31,3 @@
 $(obj)/elfconfig.h: $(obj)/empty.o $(obj)/mk_elfconfig FORCE
 	$(call if_changed,elfconfig)
 
-targets += $(obj)/elfconfig.h

  reply	other threads:[~2003-02-18 17:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-18 16:01 Robert P. J. Day
2003-02-18 17:16 ` Sam Ravnborg [this message]
2003-02-18 17:48 ` Kai Germaschewski

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=20030218171648.GA2470@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rpjday@mindspring.com \
    /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®