All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roman I Khimov <khimov@altell.ru>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] image.bbclass: another take on interdependent images build
Date: Fri,  9 Apr 2010 14:55:51 +0400	[thread overview]
Message-ID: <1270810551-14070-1-git-send-email-khimov@altell.ru> (raw)

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




                 reply	other threads:[~2010-04-09 11:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1270810551-14070-1-git-send-email-khimov@altell.ru \
    --to=khimov@altell.ru \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.