summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/classes/patch.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass
index 335d02ec71..471c32bce2 100644
--- a/meta/classes/patch.bbclass
+++ b/meta/classes/patch.bbclass
@@ -105,6 +105,8 @@ def should_apply(parm, d):
return True, None
+should_apply[vardepsexclude] = "DATE SRCDATE"
+
python patch_do_patch() {
import oe.patch
@@ -155,7 +157,7 @@ python patch_do_patch() {
bb.fatal(str(exc))
resolver.Resolve()
}
-patch_do_patch[vardepsexclude] = "DATE SRCDATE PATCHRESOLVE"
+patch_do_patch[vardepsexclude] = "PATCHRESOLVE"
addtask patch after do_unpack
do_patch[dirs] = "${WORKDIR}"