diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2017-01-13 15:52:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-19 22:47:20 +0000 |
commit | fdf4a0d3cf25498bc38d5882f2b5e97d171e3d1d (patch) | |
tree | 6c0507fa6608f25ecb7519ee2e1c18c62c708084 /meta/recipes-devtools/gcc | |
parent | dcaeaf2df160163319a05f5ae23e4ada6b64ca4e (diff) | |
download | poky-fdf4a0d3cf25498bc38d5882f2b5e97d171e3d1d.tar.gz |
gcc-source.inc: cleanly disable do_rm_work
Using "deltask" assumes that do_rm_work has been added already, which
won't be the case anymore in the upcoming improved rm_work.bbclass,
because then an anonymous python method will add do_rm_work.
Setting RM_WORK_EXCLUDE works with the current and upcoming
rm_work.bbclass and is the API that is meant to be used for excluding
recipes from cleaning, so use that.
(From OE-Core rev: 1f2a3cdadac1560b0e03a7be25f452ad48c27ddb)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-source.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-source.inc b/meta/recipes-devtools/gcc/gcc-source.inc index 49bde92c49..0d0edb58f0 100644 --- a/meta/recipes-devtools/gcc/gcc-source.inc +++ b/meta/recipes-devtools/gcc/gcc-source.inc | |||
@@ -3,7 +3,7 @@ deltask do_compile | |||
3 | deltask do_install | 3 | deltask do_install |
4 | deltask do_populate_sysroot | 4 | deltask do_populate_sysroot |
5 | deltask do_populate_lic | 5 | deltask do_populate_lic |
6 | deltask do_rm_work | 6 | RM_WORK_EXCLUDE += "${PN}" |
7 | 7 | ||
8 | inherit nopackages | 8 | inherit nopackages |
9 | 9 | ||