svn commit: trunk/busybox
aldot at busybox.net
aldot at busybox.net
Sun May 21 09:02:15 UTC 2006
Author: aldot
Date: 2006-05-21 02:02:12 -0700 (Sun, 21 May 2006)
New Revision: 15151
Log:
- do not create usage_compressed.h if CONFIG_FEATURE_COMPRESS_USAGE is not set
Modified:
trunk/busybox/Makefile
Changeset:
Modified: trunk/busybox/Makefile
===================================================================
--- trunk/busybox/Makefile 2006-05-21 08:25:45 UTC (rev 15150)
+++ trunk/busybox/Makefile 2006-05-21 09:02:12 UTC (rev 15151)
@@ -414,12 +414,15 @@
$(Q)$(top_srcdir)/scripts/config/mkconfigs > $@
endif
-scripts/usage: $(top_srcdir)/scripts/usage.c .config
- $(do_link.h) -I$(top_srcdir)/include
+ifeq ($(strip $(CONFIG_FEATURE_COMPRESS_USAGE)),y)
+scripts/usage: $(top_srcdir)/scripts/usage.c
+ $(do_link.h)
DEP_INCLUDES += include/usage_compressed.h
-include/usage_compressed.h: .config scripts/usage
+
+include/usage_compressed.h: scripts/usage .config
$(Q)$(SHELL) $(top_srcdir)/scripts/usage_compressed "$(top_srcdir)/scripts" > $@
+endif # CONFIG_FEATURE_COMPRESS_USAGE
depend dep: .depend
.depend: scripts/bb_mkdep $(DEP_INCLUDES)
More information about the busybox-cvs
mailing list