mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-10 16:36:16 +02:00
Allow extracting in non-standard PKG_BUILD_DIR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@865 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
64f9c0990a
commit
b3278bdd0b
@ -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 New Issue
Block a user