svn commit: trunk/busybox/scripts/kconfig

vda at busybox.net vda at busybox.net
Fri Apr 25 19:00:39 UTC 2008


Author: vda
Date: 2008-04-25 12:00:39 -0700 (Fri, 25 Apr 2008)
New Revision: 21871

Log:
fix KCONFIG_NOTIMESTAMP=1 mode (just learned that we have such thing)



Modified:
   trunk/busybox/scripts/kconfig/confdata.c


Changeset:
Modified: trunk/busybox/scripts/kconfig/confdata.c
===================================================================
--- trunk/busybox/scripts/kconfig/confdata.c	2008-04-25 18:44:35 UTC (rev 21870)
+++ trunk/busybox/scripts/kconfig/confdata.c	2008-04-25 19:00:39 UTC (rev 21871)
@@ -404,6 +404,8 @@
 			if (ret == 0)
 				strftime(buf, sizeof(buf), "#define AUTOCONF_TIMESTAMP "
 					"\"%Y-%m-%d %H:%M:%S\"\n", localtime(&now));
+		} else { /* bbox */
+			strcpy(buf, "#define AUTOCONF_TIMESTAMP \"\"\n");
 		}
 		fprintf(out_h, "/*\n"
 			       " * Automatically generated C config: don't edit\n"




More information about the busybox-cvs mailing list