diff options
| author | Andrew Morton <akpm@osdl.org> | 2003-08-31 04:26:58 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-08-31 04:26:58 -0700 |
| commit | 9fd4c892dd62e9711d0534a05a8eace7ebce617e (patch) | |
| tree | 731b729a758caec93a8e512d4cbc94f69dde4050 /kernel/Makefile | |
| parent | d625bd72b75f4af07f1bcb92dd2853e4e50c59e6 (diff) | |
[PATCH] ikconfig - Makefile update
From: "Randy.Dunlap" <rddunlap@osdl.org>
Please merge this makefile update from Sam.
From: Sam Ravnborg <sam@ravnborg.org>
Remark, I removed dependencies for configs.o - the are generated by kbuild
anyway. Only generated files needs explicit dependencies.
Diffstat (limited to 'kernel/Makefile')
| -rw-r--r-- | kernel/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/kernel/Makefile b/kernel/Makefile index 72eb0287e843..9bf11ae7195b 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -20,9 +20,6 @@ obj-$(CONFIG_BSD_PROCESS_ACCT) += acct.o obj-$(CONFIG_COMPAT) += compat.o obj-$(CONFIG_IKCONFIG) += configs.o -# files to be removed upon make clean -clean-files := ikconfig.h - ifneq ($(CONFIG_IA64),y) # According to Alan Modra <alan@linuxcare.com.au>, the -fno-omit-frame-pointer is # needed for x86 only. Why this used to be enabled for all architectures is beyond @@ -32,8 +29,12 @@ ifneq ($(CONFIG_IA64),y) CFLAGS_sched.o := $(PROFILING) -fno-omit-frame-pointer endif -$(obj)/ikconfig.h: scripts/mkconfigs .config Makefile - $(CONFIG_SHELL) scripts/mkconfigs .config Makefile > $(obj)/ikconfig.h +quiet_cmd_ikconfig = IKCFG $@ + cmd_ikconfig = $(CONFIG_SHELL) $< .config $(srctree)/Makefile > $@ + +targets += ikconfig.h + +$(obj)/ikconfig.h: scripts/mkconfigs .config Makefile FORCE + $(call if_changed,ikconfig) -$(obj)/configs.o: $(obj)/ikconfig.h $(obj)/configs.c \ - include/linux/version.h include/linux/compile.h +$(obj)/configs.o: $(obj)/ikconfig.h |
