Allow extracting in non-standard PKG_BUILD_DIR
SVN-Revision: 865
This commit is contained in:
parent
c51cbc4d86
commit
4dc6f11fda
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@ endif
|
|||
ifneq ($(strip $(PKG_CAT)),)
|
||||
$(PKG_BUILD_DIR)/.prepared: $(DL_DIR)/$(PKG_SOURCE)
|
||||
rm -rf $(PKG_BUILD_DIR)
|
||||
$(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
mkdir -p $(PKG_BUILD_DIR)
|
||||
$(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | tar -C $(PKG_BUILD_DIR)/.. $(TAR_OPTIONS) -
|
||||
if [ -d ./patches ]; then \
|
||||
$(PATCH) $(PKG_BUILD_DIR) ./patches ; \
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue