svn commit: trunk/busybox: scripts/config
aldot at busybox.net
aldot at busybox.net
Thu Jun 15 21:35:39 UTC 2006
Author: aldot
Date: 2006-06-15 14:35:35 -0700 (Thu, 15 Jun 2006)
New Revision: 15398
Log:
- let the scripts be prerequisites of the files the generate
- make sure that bbconfig isn't too stupid
Modified:
trunk/busybox/Makefile
trunk/busybox/scripts/config/mkconfigs
Changeset:
Modified: trunk/busybox/Makefile
===================================================================
--- trunk/busybox/Makefile 2006-06-15 20:50:38 UTC (rev 15397)
+++ trunk/busybox/Makefile 2006-06-15 21:35:35 UTC (rev 15398)
@@ -430,7 +430,7 @@
ifeq ($(strip $(CONFIG_BBCONFIG)),y)
DEP_INCLUDES += include/bbconfigopts.h
-include/bbconfigopts.h: .config
+include/bbconfigopts.h: .config $(top_srcdir)/scripts/config/mkconfigs
$(disp_gen)
$(Q)$(top_srcdir)/scripts/config/mkconfigs > $@
endif
@@ -442,7 +442,7 @@
DEP_INCLUDES += include/usage_compressed.h
-include/usage_compressed.h: .config $(USAGE_BIN)
+include/usage_compressed.h: .config $(USAGE_BIN) $(top_srcdir)/scripts/usage_compressed
$(Q)SED="$(SED)" $(SHELL) $(top_srcdir)/scripts/usage_compressed "$(top_builddir)/scripts" > $@
endif # CONFIG_FEATURE_COMPRESS_USAGE
Modified: trunk/busybox/scripts/config/mkconfigs
===================================================================
--- trunk/busybox/scripts/config/mkconfigs 2006-06-15 20:50:38 UTC (rev 15397)
+++ trunk/busybox/scripts/config/mkconfigs 2006-06-15 21:35:35 UTC (rev 15398)
@@ -60,7 +60,7 @@
*
*/"
-echo "static char const bbconfig_config[] ="
+echo "static const char const * bbconfig_config ="
echo "\"\\"
echo "`sed 's/\"/\\\\\"/g' $config | grep "^#\? \?CONFIG_" | awk '{ print $0 "\\\\n\\\\" }' `"
echo "\";"
More information about the busybox-cvs
mailing list