diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-05-21 09:02:12 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-05-21 09:02:12 +0000 |
commit | 30ead9a9b9d589b3b0f54ce89c339862209ce67c (patch) | |
tree | 33aae5d2e7e5f095f2a2f93a23c6ab962d789ae2 /Makefile | |
parent | 1a5eb4682039099dec8d41cbdb6299023e15b4c2 (diff) | |
download | busybox-w32-30ead9a9b9d589b3b0f54ce89c339862209ce67c.tar.gz busybox-w32-30ead9a9b9d589b3b0f54ce89c339862209ce67c.tar.bz2 busybox-w32-30ead9a9b9d589b3b0f54ce89c339862209ce67c.zip |
- do not create usage_compressed.h if CONFIG_FEATURE_COMPRESS_USAGE is not set
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -414,12 +414,15 @@ include/bbconfigopts.h: .config | |||
414 | $(Q)$(top_srcdir)/scripts/config/mkconfigs > $@ | 414 | $(Q)$(top_srcdir)/scripts/config/mkconfigs > $@ |
415 | endif | 415 | endif |
416 | 416 | ||
417 | scripts/usage: $(top_srcdir)/scripts/usage.c .config | 417 | ifeq ($(strip $(CONFIG_FEATURE_COMPRESS_USAGE)),y) |
418 | $(do_link.h) -I$(top_srcdir)/include | 418 | scripts/usage: $(top_srcdir)/scripts/usage.c |
419 | $(do_link.h) | ||
419 | 420 | ||
420 | DEP_INCLUDES += include/usage_compressed.h | 421 | DEP_INCLUDES += include/usage_compressed.h |
421 | include/usage_compressed.h: .config scripts/usage | 422 | |
423 | include/usage_compressed.h: scripts/usage .config | ||
422 | $(Q)$(SHELL) $(top_srcdir)/scripts/usage_compressed "$(top_srcdir)/scripts" > $@ | 424 | $(Q)$(SHELL) $(top_srcdir)/scripts/usage_compressed "$(top_srcdir)/scripts" > $@ |
425 | endif # CONFIG_FEATURE_COMPRESS_USAGE | ||
423 | 426 | ||
424 | depend dep: .depend | 427 | depend dep: .depend |
425 | .depend: scripts/bb_mkdep $(DEP_INCLUDES) | 428 | .depend: scripts/bb_mkdep $(DEP_INCLUDES) |