From dac629f71093715ea002c7949a9888188e58984e Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Sun, 5 Mar 2017 16:17:17 +0800 Subject: build: cleanup tmp/ dir of target rootfs Signed-off-by: Yousong Zhou --- package/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') diff --git a/package/Makefile b/package/Makefile index ac8faecef2..4fdf415046 100644 --- a/package/Makefile +++ b/package/Makefile @@ -63,7 +63,7 @@ endif $(curdir)/install: $(TMP_DIR)/.build $(curdir)/merge $(if $(CONFIG_TARGET_PER_DEVICE_ROOTFS),$(curdir)/merge-index) - find $(STAGING_DIR_ROOT) -type d | $(XARGS) chmod 0755 rm -rf $(TARGET_DIR) $(TARGET_DIR_ORIG) - [ -d $(TARGET_DIR)/tmp ] || mkdir -p $(TARGET_DIR)/tmp + mkdir -p $(TARGET_DIR)/tmp $(call opkg,$(TARGET_DIR)) install \ $(call opkg_package_files,$(shell cat $(PACKAGE_INSTALL_FILES) 2>/dev/null)) @for file in $(PACKAGE_INSTALL_FILES); do \ -- cgit v1.2.3