X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=tools%2FMakefile;h=4bfe4af9072f7e84e9c0864f1a9c633d84462b20;hp=1708c9a5b0d5b05d86092d6e6b142036dc09ea74;hb=4081333084a4e52a125f678e905dbbcccb9e4bd0;hpb=cf76b90a5f32bfadbd2c8d2eaad095fd96ff7961 diff --git a/tools/Makefile b/tools/Makefile index 1708c9a5b0..4bfe4af907 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -79,6 +79,7 @@ $(curdir)/bc/compile := $(curdir)/bison/install $(curdir)/findutils/compile := $(curdir)/bison/install $(curdir)/gengetopt/compile := $(curdir)/libtool/install $(curdir)/patchelf/compile := $(curdir)/libtool/install +$(curdir)/dosfstools/compile := $(curdir)/autoconf/install $(curdir)/automake/install ifeq ($(HOST_OS),Darwin) tools-y += libressl $(curdir)/mkimage/compile += $(curdir)/libressl/install @@ -89,7 +90,7 @@ ifneq ($(HOST_OS),Linux) endif ifneq ($(CONFIG_CCACHE)$(CONFIG_SDK),) -$(foreach tool, $(filter-out patch,$(tools-y)), $(eval $(curdir)/$(tool)/compile += $(curdir)/ccache/install)) +$(foreach tool, $(filter-out xz patch,$(tools-y)), $(eval $(curdir)/$(tool)/compile += $(curdir)/ccache/install)) tools-y += ccache endif @@ -97,6 +98,9 @@ endif # dependency for tools which have patches directory $(foreach tool, $(tools-y), $(if $(wildcard $(curdir)/$(tool)/patches),$(eval $(curdir)/$(tool)/compile += $(curdir)/patch/install))) +# make any tool (except xz itself) depend on XZ to ensure that *.tar.xz source archives can be unpacked +$(foreach tool, $(filter-out xz,$(tools-y)), $(eval $(curdir)/$(tool)/compile += $(curdir)/xz/install)) + $(foreach tool, $(tools-y), $(eval $(curdir)/$(tool)/compile += $(curdir)/tar/install)) tools-y += tar