svn commit: trunk/buildroot

aldot at uclibc.org aldot at uclibc.org
Sat Dec 10 14:59:05 UTC 2005


Author: aldot
Date: 2005-12-10 06:59:02 -0800 (Sat, 10 Dec 2005)
New Revision: 12811

Log:
- add option to pass to tar for unpacking the source.
  Set it to exclude .svn per default (please default to "" if inappropriate)


Modified:
   trunk/buildroot/Config.in
   trunk/buildroot/Makefile


Changeset:
Modified: trunk/buildroot/Config.in
===================================================================
--- trunk/buildroot/Config.in	2005-12-10 14:43:03 UTC (rev 12810)
+++ trunk/buildroot/Config.in	2005-12-10 14:59:02 UTC (rev 12811)
@@ -125,6 +125,10 @@
 	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"

Modified: trunk/buildroot/Makefile
===================================================================
--- trunk/buildroot/Makefile	2005-12-10 14:43:03 UTC (rev 12810)
+++ trunk/buildroot/Makefile	2005-12-10 14:59:02 UTC (rev 12811)
@@ -36,9 +36,11 @@
 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)




More information about the uClibc-cvs mailing list