diff options
| author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-03-26 17:47:26 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-26 21:19:51 +0000 |
| commit | bdca49274173153b1b0a72887de6321b4756b684 (patch) | |
| tree | 61e2eec0e15bb145b721b6aeed9e740f200e89f3 /meta/classes | |
| parent | a8f92290f1c2e162748abe1cb957d284c3240471 (diff) | |
| download | poky-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>
Diffstat (limited to 'meta/classes')
| -rw-r--r-- | meta/classes/rm_work.bbclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass index 54287bf6b3..1642af7936 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}" | |||
| 19 | BB_DEFAULT_TASK = "rm_work_all" | 19 | BB_DEFAULT_TASK = "rm_work_all" |
| 20 | 20 | ||
| 21 | do_rm_work () { | 21 | do_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 |
