aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-21 09:02:12 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-21 09:02:12 +0000
commit95065c5e3c35e78b8997bf6ac7769b2f4e541ed8 (patch)
tree33aae5d2e7e5f095f2a2f93a23c6ab962d789ae2
parent39c2358e141858ff41743d0ed70c8cba919cf0dd (diff)
downloadbusybox-w32-95065c5e3c35e78b8997bf6ac7769b2f4e541ed8.tar.gz
busybox-w32-95065c5e3c35e78b8997bf6ac7769b2f4e541ed8.tar.bz2
busybox-w32-95065c5e3c35e78b8997bf6ac7769b2f4e541ed8.zip
- do not create usage_compressed.h if CONFIG_FEATURE_COMPRESS_USAGE is not set
git-svn-id: svn://busybox.net/trunk/busybox@15151 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ea9a45dbd..80dabcc8e 100644
--- a/Makefile
+++ b/Makefile
@@ -414,12 +414,15 @@ include/bbconfigopts.h: .config
414 $(Q)$(top_srcdir)/scripts/config/mkconfigs > $@ 414 $(Q)$(top_srcdir)/scripts/config/mkconfigs > $@
415endif 415endif
416 416
417scripts/usage: $(top_srcdir)/scripts/usage.c .config 417ifeq ($(strip $(CONFIG_FEATURE_COMPRESS_USAGE)),y)
418 $(do_link.h) -I$(top_srcdir)/include 418scripts/usage: $(top_srcdir)/scripts/usage.c
419 $(do_link.h)
419 420
420DEP_INCLUDES += include/usage_compressed.h 421DEP_INCLUDES += include/usage_compressed.h
421include/usage_compressed.h: .config scripts/usage 422
423include/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" > $@
425endif # CONFIG_FEATURE_COMPRESS_USAGE
423 426
424depend dep: .depend 427depend dep: .depend
425.depend: scripts/bb_mkdep $(DEP_INCLUDES) 428.depend: scripts/bb_mkdep $(DEP_INCLUDES)