- do not create usage_compressed.h if CONFIG_FEATURE_COMPRESS_USAGE is not set
This commit is contained in:
parent
1a5eb46820
commit
30ead9a9b9
9
Makefile
9
Makefile
@ -414,12 +414,15 @@ include/bbconfigopts.h: .config
|
|||||||
$(Q)$(top_srcdir)/scripts/config/mkconfigs > $@
|
$(Q)$(top_srcdir)/scripts/config/mkconfigs > $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
scripts/usage: $(top_srcdir)/scripts/usage.c .config
|
ifeq ($(strip $(CONFIG_FEATURE_COMPRESS_USAGE)),y)
|
||||||
$(do_link.h) -I$(top_srcdir)/include
|
scripts/usage: $(top_srcdir)/scripts/usage.c
|
||||||
|
$(do_link.h)
|
||||||
|
|
||||||
DEP_INCLUDES += include/usage_compressed.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" > $@
|
$(Q)$(SHELL) $(top_srcdir)/scripts/usage_compressed "$(top_srcdir)/scripts" > $@
|
||||||
|
endif # CONFIG_FEATURE_COMPRESS_USAGE
|
||||||
|
|
||||||
depend dep: .depend
|
depend dep: .depend
|
||||||
.depend: scripts/bb_mkdep $(DEP_INCLUDES)
|
.depend: scripts/bb_mkdep $(DEP_INCLUDES)
|
||||||
|
Loading…
Reference in New Issue
Block a user