[oe] [PATCH] image.bbclass: another take on interdependent images build
Roman I Khimov
khimov at altell.ru
Fri Apr 9 10:55:51 UTC 2010
Previous episodes:
736c06e8d8 image.bbclass: reorder do_rootfs
049a7998d0 Revert "image.bbclass: reorder do_rootfs"
As I still build many interdependent images and as I still don't want
to write "do_rootfs[depends] = ..." in images, I think we can easily
solve the problem by recrdep-ing do_rootfs on any other do_rootfs-es.
This way one can add any images he wants to be built before that one
via usual DEPENDS mechanism and it should really work nice this way.
Signed-off-by: Roman I Khimov <khimov at altell.ru>
---
classes/image.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/classes/image.bbclass b/classes/image.bbclass
index 8e202f0..78987ca 100644
--- a/classes/image.bbclass
+++ b/classes/image.bbclass
@@ -36,7 +36,7 @@ IMAGE_BASENAME[export] = "1"
export PACKAGE_INSTALL ?= "${IMAGE_INSTALL} ${IMAGE_BOOT}"
# We need to recursively follow RDEPENDS and RRECOMMENDS for images
-do_rootfs[recrdeptask] += "do_deploy do_populate_staging"
+do_rootfs[recrdeptask] += "do_deploy do_populate_staging do_rootfs"
# Images are generally built explicitly, do not need to be part of world.
EXCLUDE_FROM_WORLD = "1"
--
1.5.6.5
More information about the Openembedded-devel
mailing list