All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] image.bbclass: another take on interdependent images build
@ 2010-04-09 10:55 Roman I Khimov
  0 siblings, 0 replies; only message in thread
From: Roman I Khimov @ 2010-04-09 10:55 UTC (permalink / raw)
  To: openembedded-devel

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@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




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-09 11:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-09 10:55 [PATCH] image.bbclass: another take on interdependent images build Roman I Khimov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.