summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-12-30 12:22:52 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-30 12:22:52 +0000
commita270c0e5fa2c319affe2e959030c1e8f4018bd50 (patch)
tree362527ffe66886843f4f4b42162d5a13dd7c25e3 /meta
parent78584e193b524d653ad5d32119d9c8060eff9615 (diff)
downloadopenembedded-core-a270c0e5fa2c319affe2e959030c1e8f4018bd50.tar.gz
openembedded-core-a270c0e5fa2c319affe2e959030c1e8f4018bd50.tar.bz2
openembedded-core-a270c0e5fa2c319affe2e959030c1e8f4018bd50.zip
patch.bbclass: Move vardepsexclude flag to be along side the function using the variable
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/patch.bbclass1
-rw-r--r--meta/conf/distro/poky.conf2
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass
index 7ba8abb72c..ee8a2026fc 100644
--- a/meta/classes/patch.bbclass
+++ b/meta/classes/patch.bbclass
@@ -126,6 +126,7 @@ python patch_do_patch() {
raise bb.build.FuncFailed(str(sys.exc_value))
resolver.Resolve()
}
+patch_do_patch[vardepsexclude] = "DATE SRCDATE"
addtask patch after do_unpack
do_patch[dirs] = "${WORKDIR}"
diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf
index fe2d49a3a9..6fae948b1b 100644
--- a/meta/conf/distro/poky.conf
+++ b/meta/conf/distro/poky.conf
@@ -171,4 +171,4 @@ https://.*/.* http://autobuilder.pokylinux.org/sources/ \n"
BB_SIGNATURE_HANDLER = "basic"
BB_HASHTASK_WHITELIST = "(.*-cross$|.*-native$|.*-cross-initial$|.*-cross-intermediate$|^virtual:native:.*|^virtual:nativesdk:.*)"
BB_HASHBASE_WHITELIST = "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR SSTATE_DIR THISDIR FILESEXTRAPATHS FILE_DIRNAME HOME LOGNAME SHELL TERM USER"
-patch_do_patch[vardepsexclude] = "DATE SRCDATE"
+