diff --git a/openwrt/toolchain/ipkg-utils/Makefile b/openwrt/toolchain/ipkg-utils/Makefile index d46e4f365..41c78fc24 100644 --- a/openwrt/toolchain/ipkg-utils/Makefile +++ b/openwrt/toolchain/ipkg-utils/Makefile @@ -21,7 +21,7 @@ $(DL_DIR)/$(PKG_SOURCE_FILE): $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) x $(PKG_SOURCE_SITE) $(PKG_BUILD_DIR)/.unpacked: $(DL_DIR)/$(PKG_SOURCE_FILE) - mkdir -p $(TOOL_BUILD_DIR) + mkdir -p $(BUILD_DIR) $(PKG_SOURCE_CAT) $(DL_DIR)/$(PKG_SOURCE_FILE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(PKG_BUILD_DIR)/.unpacked