Changeset 865


Ignore:
Timestamp:
2005-05-13T03:45:56+02:00 (13 years ago)
Author:
nico
Message:

Allow extracting in non-standard PKG_BUILD_DIR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/package/rules.mk

    r832 r865  
    3636$(PKG_BUILD_DIR)/.prepared: $(DL_DIR)/$(PKG_SOURCE) 
    3737        rm -rf $(PKG_BUILD_DIR) 
    38         $(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - 
     38        mkdir -p $(PKG_BUILD_DIR) 
     39        $(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | tar -C $(PKG_BUILD_DIR)/.. $(TAR_OPTIONS) - 
    3940        if [ -d ./patches ]; then \ 
    4041                $(PATCH) $(PKG_BUILD_DIR) ./patches ; \ 
Note: See TracChangeset for help on using the changeset viewer.