X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=tools%2FMakefile;h=2f57d25525b65d10f12e566b97cc0582dcd2a6f7;hb=bae0d47f2e36376d2876bc4d5557e3e11f80f2fb;hp=cee9c0bf8a26641e356b9f7c4e750b037967b4fd;hpb=b8744376445692062c7d4e59a9814dc70c76a88d;p=openwrt%2Fstaging%2Fwigyori.git diff --git a/tools/Makefile b/tools/Makefile index cee9c0bf8a..2f57d25525 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -25,7 +25,7 @@ tools-$(BUILD_TOOLCHAIN) += gmp mpfr mpc libelf expat tools-y += m4 libtool autoconf automake flex bison pkg-config mklibs zlib tools-y += sstrip make-ext4fs e2fsprogs mtd-utils mkimage tools-y += firmware-utils patch-image quilt padjffs2 -tools-y += mm-macros missing-macros cmake scons bc findutils gengetopt patchelf +tools-y += mm-macros missing-macros cmake bc findutils gengetopt patchelf tools-y += mtools dosfstools libressl tools-$(CONFIG_TARGET_orion_generic) += wrt350nv2-builder upslug2 tools-$(CONFIG_TARGET_x86) += qemu @@ -77,7 +77,7 @@ $(curdir)/zlib/compile := $(curdir)/cmake/compile $(curdir)/wrt350nv2-builder/compile := $(curdir)/zlib/compile $(curdir)/lzma-old/compile := $(curdir)/zlib/compile $(curdir)/make-ext4fs/compile := $(curdir)/zlib/compile -$(curdir)/cbootimage/compile += $(curdir)/autoconf/compile +$(curdir)/cbootimage/compile += $(curdir)/automake/compile ifneq ($(HOST_OS),Linux) $(curdir)/squashfskit4/compile += $(curdir)/coreutils/compile @@ -123,7 +123,7 @@ define PrepareStaging $(if $(QUIET),,set -x;) \ mkdir -p "$$dir"; \ cd "$$dir"; \ - mkdir -p bin lib include stamp; \ + mkdir -p bin lib stamp; \ ); done endef @@ -152,6 +152,6 @@ $(curdir)/ := .config prereq $(curdir)/install: $(curdir)/compile tools_enabled = $(foreach tool,$(sort $(tools-y) $(tools-)),$(if $(filter $(tool),$(tools-y)),y,n)) -$(eval $(call stampfile,$(curdir),tools,compile,,_$(subst $(space),,$(tools_enabled)))) -$(eval $(call stampfile,$(curdir),tools,check,$(TMP_DIR)/.build)) +$(eval $(call stampfile,$(curdir),tools,compile,,_$(subst $(space),,$(tools_enabled)),$(STAGING_DIR_HOST))) +$(eval $(call stampfile,$(curdir),tools,check,$(TMP_DIR)/.build,,$(STAGING_DIR_HOST))) $(eval $(call subdir,$(curdir)))