diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-01-18 19:47:36 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-01-18 19:47:36 +0100 |
commit | 3d71786154fbb3fcfbd652115f3e75db3f729941 (patch) | |
tree | a3d0ad55239a4a9bb526c88149e107a65fae6dc6 /Makefile | |
parent | 5f7a081553edcfe3cf4ed9601297a5a17616cf99 (diff) | |
download | openwrt-3d71786154fbb3fcfbd652115f3e75db3f729941.tar.gz openwrt-3d71786154fbb3fcfbd652115f3e75db3f729941.tar.bz2 openwrt-3d71786154fbb3fcfbd652115f3e75db3f729941.zip |
build: move STAGING_DIR_HOSTPKG and BUILD_DIR_HOST back to a common directory for all targets
Using a single host package staging dir (and build dir) significantly speeds up
builds when multiple targets are built in succession, especially for large host
packages like NodeJS.
$(STAGING_DIR)/host is kept in addition to $(STAGING_DIR_HOSTPKG) in most
places; it is still used as destination for host files in Build/InstallDev.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ clean: FORCE rm -rf $(BUILD_DIR) $(STAGING_DIR) $(BIN_DIR) $(OUTPUT_DIR)/packages/$(ARCH_PACKAGES) $(BUILD_LOG_DIR) $(TOPDIR)/staging_dir/packages dirclean: clean - rm -rf $(STAGING_DIR_HOST) $(TOOLCHAIN_DIR) $(BUILD_DIR_HOST) $(BUILD_DIR_TOOLCHAIN) + rm -rf $(STAGING_DIR_HOST) $(STAGING_DIR_HOSTPKG) $(TOOLCHAIN_DIR) $(BUILD_DIR_BASE)/host $(BUILD_DIR_BASE)/hostpkg $(BUILD_DIR_TOOLCHAIN) rm -rf $(TMP_DIR) ifndef DUMP_TARGET_DB |