better excludes for the local tree copy
This commit is contained in:
parent
533d8dee9d
commit
c99752055a
1 changed files with 5 additions and 1 deletions
|
@ -36,7 +36,11 @@ include $(INCLUDE_DIR)/package.mk
|
|||
ifeq ($(USELOCAL),1)
|
||||
define Build/Prepare
|
||||
mkdir -p $(PKG_BUILD_DIR)
|
||||
$(TAR) c -C ../../../ . --exclude=.pc --exclude='boa-0*' --exclude=.svn --exclude=.git --exclude='*.o' | tar x -C $(PKG_BUILD_DIR)/
|
||||
$(TAR) c -C ../../../ . \
|
||||
--exclude=.pc --exclude=.svn --exclude=.git \
|
||||
--exclude='boa-0*' --exclude='*.o' --exclude='*.so' \
|
||||
--exclude=dist | \
|
||||
tar x -C $(PKG_BUILD_DIR)/
|
||||
endef
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue