summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-03-26 17:47:26 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-26 21:19:51 (GMT)
commitbdca49274173153b1b0a72887de6321b4756b684 (patch)
tree61e2eec0e15bb145b721b6aeed9e740f200e89f3
parenta8f92290f1c2e162748abe1cb957d284c3240471 (diff)
downloadpoky-bdca49274173153b1b0a72887de6321b4756b684.tar.gz
classes/rm_work: rename RM_WORK_WHITELIST to RM_WORK_EXCLUDE1.4_M5.rc2
This really functions as a blacklist, not a whitelist, since we are listing recipes to exclude. To avoid any possibility of confusion, since this was a recent addition, rename the variable. (From OE-Core rev: 4d56de8018d550b3d181d451900cbfb698d64141) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/rm_work.bbclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass
index 54287bf..1642af7 100644
--- a/meta/classes/rm_work.bbclass
+++ b/meta/classes/rm_work.bbclass
@@ -5,10 +5,10 @@
5# 5#
6# INHERIT += "rm_work" 6# INHERIT += "rm_work"
7# 7#
8# To inhibit rm_work for some recipes, specify them in RM_WORK_WHITELIST. 8# To inhibit rm_work for some recipes, specify them in RM_WORK_EXCLUDE.
9# For example, in conf/local.conf: 9# For example, in conf/local.conf:
10# 10#
11# RM_WORK_WHITELIST += "icu-native icu busybox" 11# RM_WORK_EXCLUDE += "icu-native icu busybox"
12# 12#
13 13
14# Use the completion scheduler by default when rm_work is active 14# Use the completion scheduler by default when rm_work is active
@@ -19,10 +19,10 @@ RMWORK_ORIG_TASK := "${BB_DEFAULT_TASK}"
19BB_DEFAULT_TASK = "rm_work_all" 19BB_DEFAULT_TASK = "rm_work_all"
20 20
21do_rm_work () { 21do_rm_work () {
22 # If the recipe name is in the RM_WORK_WHITELIST, skip the recipe. 22 # If the recipe name is in the RM_WORK_EXCLUDE, skip the recipe.
23 for p in ${RM_WORK_WHITELIST}; do 23 for p in ${RM_WORK_EXCLUDE}; do
24 if [ "$p" = "${PN}" ]; then 24 if [ "$p" = "${PN}" ]; then
25 bbnote "rm_work: Skipping ${PN} since it is in RM_WORK_WHITELIST" 25 bbnote "rm_work: Skipping ${PN} since it is in RM_WORK_EXCLUDE"
26 exit 0 26 exit 0
27 fi 27 fi
28 done 28 done