* why is "scripts/elfconfig.h" not removed with "make mrproper"?
@ 2003-02-18 16:01 Robert P. J. Day
2003-02-18 17:16 ` Sam Ravnborg
2003-02-18 17:48 ` Kai Germaschewski
0 siblings, 2 replies; 3+ messages in thread
From: Robert P. J. Day @ 2003-02-18 16:01 UTC (permalink / raw)
To: Linux kernel mailing list
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?
rday
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: why is "scripts/elfconfig.h" not removed with "make mrproper"?
2003-02-18 16:01 why is "scripts/elfconfig.h" not removed with "make mrproper"? Robert P. J. Day
@ 2003-02-18 17:16 ` Sam Ravnborg
2003-02-18 17:48 ` Kai Germaschewski
1 sibling, 0 replies; 3+ messages in thread
From: Sam Ravnborg @ 2003-02-18 17:16 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: Linux kernel mailing list
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: why is "scripts/elfconfig.h" not removed with "make mrproper"?
2003-02-18 16:01 why is "scripts/elfconfig.h" not removed with "make mrproper"? Robert P. J. Day
2003-02-18 17:16 ` Sam Ravnborg
@ 2003-02-18 17:48 ` Kai Germaschewski
1 sibling, 0 replies; 3+ messages in thread
From: Kai Germaschewski @ 2003-02-18 17:48 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: Linux kernel mailing list
On Tue, 18 Feb 2003, 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.
Right.
--Kai
===== scripts/Makefile 1.30 vs edited =====
--- 1.30/scripts/Makefile Sun Feb 16 21:20:26 2003
+++ edited/scripts/Makefile Tue Feb 18 11:47:10 2003
@@ -17,6 +17,8 @@
# Let clean descend into subdirs
subdir- := lxdialog kconfig
+clean-files := elfconfig.h
+
# fixdep is needed to compile other host programs
$(addprefix $(obj)/,$(filter-out fixdep,$(build-targets))): $(obj)/fixdep
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-02-18 17:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-18 16:01 why is "scripts/elfconfig.h" not removed with "make mrproper"? Robert P. J. Day
2003-02-18 17:16 ` Sam Ravnborg
2003-02-18 17:48 ` Kai Germaschewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).