All pastes #969701 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-04-03 18:23 UTC
rendered paste body
Index: Makefile
===================================================================
--- Makefile	(Revision 3210)
+++ Makefile	(Arbeitskopie)
@@ -59,8 +59,7 @@
 
 ifeq ($(strip $(HAVE_DOTCONFIG)),)
 
-all:
-	$(Q)printf "Please run make config/menuconfig/xconfig/gconfig first.\n"
+all: config
 
 else
 
@@ -91,9 +90,10 @@
 	$(Q)mkdir -p $(obj)/util/kconfig/lxdialog
 
 clean:
-	$(Q)rm -rf build
+	$(Q)rm -rf build/util build/*.conf build/*.cmd build/*.elf build/*.o
 
 distclean: clean
+	$(Q)rm -rf build
 	$(Q)rm -f .config .config.old ..config.tmp .kconfig.d .tmpconfig*
 
 include util/kconfig/Makefile
Index: util/kconfig/confdata.c
===================================================================
--- util/kconfig/confdata.c	(Revision 3210)
+++ util/kconfig/confdata.c	(Arbeitskopie)
@@ -679,8 +679,10 @@
 
 	file_write_dep("build/auto.conf.cmd");
 
+#if 0
 	if (conf_split_config())
 		return 1;
+#endif
 
 	out = fopen(".tmpconfig", "w");
 	if (!out)
Index: util/kconfig/conf.c
===================================================================
--- util/kconfig/conf.c	(Revision 3210)
+++ util/kconfig/conf.c	(Arbeitskopie)
@@ -624,6 +624,10 @@
 		fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n"));
 		return 1;
 	}
+	if (conf_write_autoconf()) {
+		fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n"));
+		return 1;
+	}
 skip_check:
 	if (input_mode == ask_silent && conf_write_autoconf()) {
 		fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n"));