diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-10 22:50:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-14 15:16:04 +0000 |
commit | cece583d58f82a50c3a4eac876eb326ac3b8f5e5 (patch) | |
tree | 77a9d3a2967290c9de0eb610590a01e967e86025 /meta/classes/native.bbclass | |
parent | 06c891f0fa6c7712eae233dd18612f1ab1889c45 (diff) | |
download | openembedded-core-cece583d58f82a50c3a4eac876eb326ac3b8f5e5.tar.gz openembedded-core-cece583d58f82a50c3a4eac876eb326ac3b8f5e5.tar.bz2 openembedded-core-cece583d58f82a50c3a4eac876eb326ac3b8f5e5.zip |
nopackages: Add class for recipes which don't generate packages
It turns out writing the same list of packaging tasks multiple
times in multiple places is error prone. Move this to a new class
'nopackages", migrate existing users and add glibc-initial and
libgcc-initial since we don't want packages for those recipes.
This means the sstate for those recipes won't be installed, saving
small amounts of build time and bandwidth.
A reference to the old package_write task is also dropped.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/native.bbclass')
-rw-r--r-- | meta/classes/native.bbclass | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index bcbcd61e03..aac2c1e870 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass @@ -169,13 +169,7 @@ python native_virtclass_handler () { addhandler native_virtclass_handler native_virtclass_handler[eventmask] = "bb.event.RecipePreFinalise" -deltask package -deltask packagedata -deltask package_qa -deltask package_write_ipk -deltask package_write_deb -deltask package_write_rpm -deltask package_write +inherit nopackages do_packagedata[stamp-extra-info] = "" do_populate_sysroot[stamp-extra-info] = "" |