On 04/05/2012 11:20 PM, Lianhao Lu wrote:
Make sure ofono package is generated when buidling connman, because
dynamic package connman-plugin-ofono has a RDEPENDS on ofono.

Since this is for a plugin, can the connman-plugin-ofono be generated in a separate package (or possibly even a separate recipe that depends on ofono, instead of making connman depend on ofono, I am not sure the solution below is correct either.

Sau!

Signed-off-by: Lianhao Lu<[email protected]>
---
  meta/recipes-connectivity/connman/connman.inc |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-connectivity/connman/connman.inc 
b/meta/recipes-connectivity/connman/connman.inc
index 1a6dd1b..3ed5667 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -39,6 +39,8 @@ EXTRA_OECONF += "\
      --disable-ntpd \
  "

+do_package[depends] = "${MLPREFIX}ofono:do_package"
+
  INITSCRIPT_NAME = "connman"
  INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ."


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to