summaryrefslogtreecommitdiff
path: root/classes/sourcepkg.bbclass
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2005-10-05 13:36:42 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-10-05 13:36:42 +0000
commite39e9a50ba61d155179b9a6f413d4f7a8bc58012 (patch)
treed5372431cefc9ecd5b417fb60d9d2bcd946c407b /classes/sourcepkg.bbclass
parent68d2340460441d70490cdf720c6e7ad4685df4a4 (diff)
Two changes to sourcepkg.class:
- added "autom4te.cache" to default EXCLUDE_FROM to not have configure tests in resulted diff - changed order of tar arguments to get it working with GNU tar 1.15.1
Diffstat (limited to 'classes/sourcepkg.bbclass')
-rw-r--r--classes/sourcepkg.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/sourcepkg.bbclass b/classes/sourcepkg.bbclass
index 3eeff91333..390d3684d4 100644
--- a/classes/sourcepkg.bbclass
+++ b/classes/sourcepkg.bbclass
@@ -1,5 +1,5 @@
DEPLOY_DIR_SRC ?= "${DEPLOY_DIR}/source"
-EXCLUDE_FROM ?= ".pc"
+EXCLUDE_FROM ?= ".pc autom4te.cache"
# used as part of a path. make sure it's set
DISTRO ?= "openembedded"
@@ -42,7 +42,7 @@ sourcepkg_do_create_orig_tgz(){
echo $src_tree
oenote "Creating .orig.tar.gz in ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz"
- tar cvzf ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz $src_tree --exclude-from temp/exclude-from-file
+ tar cvzf ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz --exclude-from temp/exclude-from-file $src_tree
cp -pPR $src_tree $src_tree.orig
}