aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-12-23 13:44:59 -0500
committerKevin O'Connor <kevin@koconnor.net>2013-12-23 13:44:59 -0500
commit95b3d3286ff65d44f3d0240c6d7be4bec7671375 (patch)
tree6689ccd6100805ebc29d7b8d66d5acf4c6e45c0a /Makefile
parent96917a8ed761f017fc8c72ba3b9181fbac03ac59 (diff)
downloadseabios-hppa-95b3d3286ff65d44f3d0240c6d7be4bec7671375.zip
seabios-hppa-95b3d3286ff65d44f3d0240c6d7be4bec7671375.tar.gz
seabios-hppa-95b3d3286ff65d44f3d0240c6d7be4bec7671375.tar.bz2
build: Don't trash the .config file when src/Kconfig changes.
Revision 5325e91e introduced a change to force the rebuild of the .config file when the src/Kconfig (or vgasrc/Kconfig) file changes. However, this was causing a complete rebuild of the user's .config file which would throw away the user's current settings. On a rebuild, use the kbuild olddefconfig rule instead of defconfig to attempt to keep the user's current settings. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cb15217..aba8a62 100644
--- a/Makefile
+++ b/Makefile
@@ -260,7 +260,7 @@ $(Q)$(MAKE) -C $(OUT) -f $(CURDIR)/scripts/kconfig/Makefile srctree=$(CURDIR) sr
endef
$(OUT)autoconf.h : $(KCONFIG_CONFIG) ; $(call do-kconfig, silentoldconfig)
-$(KCONFIG_CONFIG): src/Kconfig vgasrc/Kconfig ; $(call do-kconfig, defconfig)
+$(KCONFIG_CONFIG): src/Kconfig vgasrc/Kconfig ; $(call do-kconfig, olddefconfig)
%onfig: ; $(call do-kconfig, $@)
help: ; $(call do-kconfig, $@)