diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2006-06-09 01:12:42 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-06-09 01:31:30 -0400 |
commit | 2e3646e51b2d6415549b310655df63e7e0d7a080 (patch) | |
tree | f717c0ede91122ab776a6b0fce9b8c941797f170 /Makefile | |
parent | 669bfad906522e74ee8d962801552a8c224c0d63 (diff) |
kconfig: integrate split config into silentoldconfig
Now that kconfig can load multiple configurations, it becomes simple to
integrate the split config step, by simply comparing the new .config file with
the old auto.conf (and then saving the new auto.conf). A nice side effect is
that this saves a bit of disk space and cache, as no data needs to be read
from or saved into the splitted config files anymore (e.g. include/config is
now 648KB instead of 5.2MB).
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -418,7 +418,7 @@ ifeq ($(KBUILD_EXTMOD),) | |||
418 | # Carefully list dependencies so we do not try to build scripts twice | 418 | # Carefully list dependencies so we do not try to build scripts twice |
419 | # in parrallel | 419 | # in parrallel |
420 | PHONY += scripts | 420 | PHONY += scripts |
421 | scripts: scripts_basic include/config/MARKER | 421 | scripts: scripts_basic include/config/auto.conf |
422 | $(Q)$(MAKE) $(build)=$(@) | 422 | $(Q)$(MAKE) $(build)=$(@) |
423 | 423 | ||
424 | # Objects we will link into vmlinux / subdirs we need to visit | 424 | # Objects we will link into vmlinux / subdirs we need to visit |
@@ -787,7 +787,7 @@ endif | |||
787 | prepare2: prepare3 outputmakefile | 787 | prepare2: prepare3 outputmakefile |
788 | 788 | ||
789 | prepare1: prepare2 include/linux/version.h include/asm \ | 789 | prepare1: prepare2 include/linux/version.h include/asm \ |
790 | include/config/MARKER | 790 | include/config/auto.conf |
791 | ifneq ($(KBUILD_MODULES),) | 791 | ifneq ($(KBUILD_MODULES),) |
792 | $(Q)mkdir -p $(MODVERDIR) | 792 | $(Q)mkdir -p $(MODVERDIR) |
793 | $(Q)rm -f $(MODVERDIR)/* | 793 | $(Q)rm -f $(MODVERDIR)/* |
@@ -815,13 +815,6 @@ include/asm: | |||
815 | $(Q)if [ ! -d include ]; then mkdir -p include; fi; | 815 | $(Q)if [ ! -d include ]; then mkdir -p include; fi; |
816 | @ln -fsn asm-$(ARCH) $@ | 816 | @ln -fsn asm-$(ARCH) $@ |
817 | 817 | ||
818 | # Split autoconf.h into include/linux/config/* | ||
819 | |||
820 | include/config/MARKER: scripts/basic/split-include include/config/auto.conf | ||
821 | @echo ' SPLIT include/linux/autoconf.h -> include/config/*' | ||
822 | @scripts/basic/split-include include/linux/autoconf.h include/config | ||
823 | @touch $@ | ||
824 | |||
825 | # Generate some files | 818 | # Generate some files |
826 | # --------------------------------------------------------------------------- | 819 | # --------------------------------------------------------------------------- |
827 | 820 | ||