From ce90aae17c62b270d69b70811097d018907ff833 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 10 Dec 2005 14:59:02 +0000 Subject: [PATCH] - add option to pass to tar for unpacking the source. Set it to exclude .svn per default (please default to "" if inappropriate) --- Config.in | 4 ++++ Makefile | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Config.in b/Config.in index 8714bc633c..f62f9c9733 100644 --- a/Config.in +++ b/Config.in @@ -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" diff --git a/Makefile b/Makefile index 5d8f725992..629129603b 100644 --- a/Makefile +++ b/Makefile @@ -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) -- 2.30.2