summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-10-23 11:33:37 -0500
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-10-23 11:33:37 -0500
commite846b41a2a40d1eae5e7057553c226281b310b13 (patch)
treeacfaa14436662fc7172bac15623fa932113f1237 /init
parenteea2541514a26d3ebb09ef5401b97b4a441ca8d4 (diff)
kbuild: Convert build and modversion phases
Alright, so now actually all four phases are converted to new-style, i.e. we call make -f scripts/Makefile.<phase> which includes the actual subdir Makefile. The obvious drawback is some code duplication between the four scripts/Makefile.<phase>, which could easily be overcome including shared parts, but since I'm going for maximum performance, I did not for now. Rules.make is empty now ;) (Well, not quite, since if it was 0 bytes, make mrproper would remove it...)
Diffstat (limited to 'init')
-rw-r--r--init/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/Makefile b/init/Makefile
index 987e97108ce8..f2ac5d4ab05f 100644
--- a/init/Makefile
+++ b/init/Makefile
@@ -11,13 +11,13 @@ include $(TOPDIR)/Rules.make
# dependencies on generated files need to be listed explicitly
-$(obj)/version.o: $(obj)/../include/linux/compile.h
+$(obj)/version.o: 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.
-$(obj)/../include/linux/compile.h: FORCE
+include/linux/compile.h: FORCE
@echo -n ' Generating $@'
@sh $(srctree)/scripts/mkcompile_h $@ "$(ARCH)" "$(CONFIG_SMP)" "$(CC) $(CFLAGS)"