]> code.ossystems Code Review - openembedded-core.git/commit
nopackages: Add class for recipes which don't generate packages
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Dec 2015 22:50:56 +0000 (22:50 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Dec 2015 15:16:04 +0000 (15:16 +0000)
commitcece583d58f82a50c3a4eac876eb326ac3b8f5e5
tree77a9d3a2967290c9de0eb610590a01e967e86025
parent06c891f0fa6c7712eae233dd18612f1ab1889c45
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>
meta/classes/cross.bbclass
meta/classes/native.bbclass
meta/classes/nopackages.bbclass [new file with mode: 0644]
meta/recipes-core/glibc/glibc-initial.inc
meta/recipes-devtools/gcc/gcc-cross-initial.inc
meta/recipes-devtools/gcc/gcc-source.inc
meta/recipes-devtools/gcc/libgcc-initial.inc