X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=tools%2FMakefile;h=b3ba6d06b1e61e1ec3e770fd5be63b18b74319fb;hb=43027149c7034caa3a2cbff1803e164e32081cbf;hp=8366c4d01c567c6e50ef3fec5606b8d05866c414;hpb=3d48f3f57b5e98ed485c7e8b99e49d485a06bca9;p=openwrt.git diff --git a/tools/Makefile b/tools/Makefile index 8366c4d01c..b3ba6d06b1 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -20,10 +20,14 @@ tools-y += mm-macros xorg-macros xfce-macros missing-macros xz cmake scons tools-$(CONFIG_TARGET_orion_generic) += wrt350nv2-builder upslug2 tools-$(CONFIG_powerpc) += upx tools-$(CONFIG_TARGET_x86) += qemu +tools-$(CONFIG_TARGET_brcm2708) += mtools dosfstools ifneq ($(CONFIG_TARGET_ar71xx),) tools-y += lzma-old squashfs endif tools-y += lzma squashfs4 +ifneq ($(CONFIG_PACKAGE_kmod-b43)$(CONFIG_PACKAGE_kmod-b43legacy)$(CONFIG_BRCMSMAC_USE_FW_FROM_WL),) +tools-y += b43-tools +endif ifneq ($(CONFIG_PACKAGE_firmwarehotplug),) tools-y += sdcc @@ -38,6 +42,7 @@ endif # builddir dependencies $(curdir)/bison/compile := $(curdir)/flex/install +$(curdir)/flex/compile := $(curdir)/m4/install $(curdir)/pkg-config/compile := $(curdir)/sed/install $(curdir)/libtool/compile := $(curdir)/sed/install $(curdir)/squashfs/compile := $(curdir)/lzma-old/install @@ -61,6 +66,8 @@ $(curdir)/xfce-macros/compile := $(curdir)/automake/install $(curdir)/missing-macros/compile := $(curdir)/automake/install $(curdir)/e2fsprogs/compile := $(curdir)/automake/install $(curdir)/libelf/compile := $(curdir)/automake/install +$(curdir)/sdcc/compile := $(curdir)/bison/install +$(curdir)/b43-tools/compile := $(curdir)/bison/install ifneq ($(CONFIG_CCACHE),) $(foreach tool, $(tools-y), $(eval $(curdir)/$(tool)/compile += $(curdir)/ccache/install)) @@ -117,7 +124,7 @@ $(STAGING_DIR_HOST)/bin/stat: $(STAGING_DIR)/.prepared fi $(eval $(call PrepareCommand,find,gfind find)) -$(eval $(call PrepareCommand,md5sum,md5sum $(SCRIPT_DIR)/md5sum)) +$(eval $(call PrepareCommand,md5sum,gmd5sum md5sum $(SCRIPT_DIR)/md5sum)) $(eval $(call PrepareCommand,cp,gcp cp)) $(eval $(call PrepareCommand,seq,gseq seq)) $(eval $(call PrepareCommand,python,python2 python))