From c30662736a3b80fabf9982501c82b505f0c230e5 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Sat, 19 Apr 2008 01:11:00 +0000 Subject: [PATCH] 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 --- snippets/rtems | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 $$@" -- 2.39.2