From: Pavel Pisa Date: Sat, 19 Apr 2008 01:11:00 +0000 (+0000) Subject: Added TARFLAGS variable for x_EMBEDTARFILES targets generation. X-Git-Tag: v0.1~4 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/omk.git/commitdiff_plain/c30662736a3b80fabf9982501c82b505f0c230e5?ds=sidebyside Added TARFLAGS variable for x_EMBEDTARFILES targets generation. The TARFLAGS variable allows to include flag --dereference to follow symbolic links. darcs-hash:20080419011142-ff715-ed6163b0fd3d572da172d8dda932f3ba0d6b9b22.gz --- diff --git a/snippets/rtems b/snippets/rtems index 5cd241d..e2e5b96 100644 --- a/snippets/rtems +++ b/snippets/rtems @@ -94,8 +94,8 @@ define TARFILE_template $(2): $(Q) ABSOLUTETARFILE=`cd $$(dir $$@) ; pwd`/$$@ ; \ - ( test -e $$$$ABSOLUTETARFILE && ( cd $(3) && tar -df $$$$ABSOLUTETARFILE ) ) || \ - ( cd $(3) && tar -cf $$$$ABSOLUTETARFILE . ) + ( test -e $$$$ABSOLUTETARFILE && ( cd $(3) && tar $$(TARFLAGS) -df $$$$ABSOLUTETARFILE ) ) || \ + ( cd $(3) && tar $$(TARFLAGS) -cf $$$$ABSOLUTETARFILE . ) $(2).o: $(2) @$(QUIET_CMD_ECHO) " TARFILE $$@"