From 9909e989d93e2bb9f51596a5a6ab09dd0eb6a5e4 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 18 May 2008 16:22:21 +0000 Subject: 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 --- meta/classes/patch.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/classes') 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 -- cgit v1.2.3