- add option to pass to tar for unpacking the source.

Set it to exclude .svn per default (please default to "" if inappropriate)
This commit is contained in:
Bernhard Reutner-Fischer 2005-12-10 14:59:02 +00:00
parent 955ed6aeca
commit ce90aae17c
2 changed files with 8 additions and 2 deletions

View File

@ -125,6 +125,10 @@ config BR2_TAR_VERBOSITY
bool "Tar verbose"
default n
config BR2_TAR_OPTIONS
string "Tar options"
default "--exclude='.svn'"
config BR2_DL_DIR
string "Download dir"
default "$(BASE_DIR)/dl"

View File

@ -36,9 +36,11 @@ ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
endif
ifeq ($(BR2_TAR_VERBOSITY),y)
TAR_OPTIONS=-xvf
TAR_OPTIONS=$(subst ",, $(BR2_TAR_OPTIONS)) -xvf
#"
else
TAR_OPTIONS=-xf
TAR_OPTIONS=$(subst ",, $(BR2_TAR_OPTIONS)) -xf
#"
endif
ifeq ($(strip $(BR2_HAVE_DOT_CONFIG)),y)