X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=tools%2FMakefile;h=3b3f187c4d7bf1d78dc6e992f3c1818bbea4006a;hb=d67ccddfcf3f1c9930e0fb3a73be7edcf4b6150d;hp=91f52ff29ac9a51ba36536580ff4dba2614a4287;hpb=aefe068d0634bc832b0a72e374aee8b80afae778;p=15.05%2Fopenwrt.git diff --git a/tools/Makefile b/tools/Makefile index 91f52ff29a..3b3f187c4d 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -17,7 +17,7 @@ endif tools-y += m4 autoconf automake bison pkg-config sed mklibs tools-y += sstrip ipkg-utils genext2fs e2fsprogs mtd-utils mkimage tools-y += firmware-utils patch-cmdline quilt yaffs2 flock -tools-y += xorg-macros +tools-y += xorg-macros xz tools-$(CONFIG_TARGET_orion_generic) += wrt350nv2-builder upslug2 tools-$(CONFIG_TARGET_x86) += qemu ifneq ($(CONFIG_TARGET_ar71xx),) @@ -63,11 +63,8 @@ define PrepareStaging endef # preparatory work -$(STAGING_DIR)/.prepared: $(TMP_DIR)/.build $(STAGING_DIR_HOST)/.prepared +$(STAGING_DIR)/.prepared: $(TMP_DIR)/.build $(call PrepareStaging,$(STAGING_DIR)) - mkdir -p $(STAGING_DIR)/host/share - rm -rf $(STAGING_DIR)/host/share/aclocal - ln -s $(STAGING_DIR_HOST)/share/aclocal $(STAGING_DIR)/host/share/ mkdir -p $(BUILD_DIR)/stamp touch $@