Add amd64 detection when build host is a x86_64 machine, closes #390
[openwrt.git] / openwrt / toolchain / ipkg-utils / Makefile
index d46e4f3..41c78fc 100644 (file)
@@ -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)
        $(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
 
        $(PKG_SOURCE_CAT) $(DL_DIR)/$(PKG_SOURCE_FILE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
        touch $(PKG_BUILD_DIR)/.unpacked
 
This page took 0.024698 seconds and 4 git commands to generate.