summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-10-16 00:33:30 -0500
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-10-16 00:33:30 -0500
commit5afa997dae3a3cbe73e01c7a2901fc6ba596e070 (patch)
tree3c904e1114572110a5b0869c8827ca1afb3e234d /init
parent5a7728c6d3eb83df9d120944cca4cf476dd326a1 (diff)
parentfa2035a6c48bde0fe3c009764d74716a822910aa (diff)
Merge tp1.ruhr-uni-bochum.de:/home/kai/src/kernel/v2.5/linux-2.5
into tp1.ruhr-uni-bochum.de:/home/kai/src/kernel/v2.5/linux-2.5.make
Diffstat (limited to 'init')
-rw-r--r--init/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/init/Makefile b/init/Makefile
index 6dbffbfb4b70..60f06f6ccb81 100644
--- a/init/Makefile
+++ b/init/Makefile
@@ -4,17 +4,20 @@
obj-y := main.o version.o do_mounts.o
+# files to be removed upon make clean
+clean-files := ../include/linux/compile.h
+
include $(TOPDIR)/Rules.make
# dependencies on generated files need to be listed explicitly
-$(obj)/version.o: $(objtree)/include/linux/compile.h
+$(obj)/version.o: $(obj)/../include/linux/compile.h
# compile.h changes depending on hostname, generation number, etc,
# so we regenerate it always.
# mkcompile_h will make sure to only update the
# actual file if its content has changed.
-$(objtree)/include/linux/compile.h: FORCE
- @echo -n ' Generating $@'
+$(obj)/../include/linux/compile.h: FORCE
+ @echo -n ' Generating $(echo_target)'
@sh $(srctree)/scripts/mkcompile_h $@ "$(ARCH)" "$(CONFIG_SMP)" "$(CC) $(CFLAGS)"