From patchwork Fri Jan 25 19:42:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [7/7] oe-core: add world-image Date: Fri, 25 Jan 2013 19:42:54 -0000 From: Martin Jansa X-Patchwork-Id: 43421 Message-Id: <7f7ccb65953536768d1558491d5d80ec0e4f74c2.1359142768.git.Martin.Jansa@gmail.com> To: openembedded-core@lists.openembedded.org * this depends on newer bitbake * similar to world target, but collects all PACKAGES * recipes marked with EXCLUDE_FROM_WORLD are excluded from world as well as world-image * recipes marked with EXCLUDE_FROM_WORLD_IMAGE are excluded completely from world-image, sometimes you can build 2 recipes in same sysroot, but cannot install them in the same image * PACKAGES listed in EXCLUDE_PACKAGES_FROM_WORLD_IMAGE are also excluded. You can remove e.g. ${PN}-dbg, but keep all other PACKAGES. Signed-off-by: Martin Jansa --- meta/recipes-core/images/world-image.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta/recipes-core/images/world-image.bb diff --git a/meta/recipes-core/images/world-image.bb b/meta/recipes-core/images/world-image.bb new file mode 100644 index 0000000..ab195c3 --- /dev/null +++ b/meta/recipes-core/images/world-image.bb @@ -0,0 +1,10 @@ +# IMAGE_INSTALL is set from bitbake itself to union of all PACKAGES +# from all recipes which are not marked as: +# EXCLUDE_FROM_WORLD or EXCLUDE_FROM_WORLD_IMAGE +# or individual packages listed in +# EXCLUDE_PACKAGES_FROM_WORLD_IMAGE + +inherit image + +# don't build this in regular world builds +EXCLUDE_FROM_WORLD = "1"