summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-05-18 16:22:21 +0000
committerRichard Purdie <richard@openedhand.com>2008-05-18 16:22:21 +0000
commit9909e989d93e2bb9f51596a5a6ab09dd0eb6a5e4 (patch)
treee0a5f7629c1266abb99ac4ea5b53602b1833003f /meta/classes
parentf0e154b9f9953aa03f651630b3daee0dc5b444c9 (diff)
downloadopenembedded-core-9909e989d93e2bb9f51596a5a6ab09dd0eb6a5e4.tar.gz
openembedded-core-9909e989d93e2bb9f51596a5a6ab09dd0eb6a5e4.tar.bz2
openembedded-core-9909e989d93e2bb9f51596a5a6ab09dd0eb6a5e4.zip
patch.bbclass: Make it possibe to override the patch dependency
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4489 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/patch.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass
index 5263089916..8bb2dee79a 100644
--- a/meta/classes/patch.bbclass
+++ b/meta/classes/patch.bbclass
@@ -395,7 +395,8 @@ def patch_init(d):
addtask patch after do_unpack
do_patch[dirs] = "${WORKDIR}"
-do_patch[depends] = "${PATCHTOOL}-native:do_populate_staging"
+PATCHDEPENDENCY = "${PATCHTOOL}-native:do_populate_staging"
+do_patch[depends] = "${PATCHDEPENDENCY}"
python patch_do_patch() {
import re