lkml.org 
[lkml]   [2003]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: why is "scripts/elfconfig.h" not removed with "make mrproper"?
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.065 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site