[oe] [PATCH 3/4] task-bug: make it compatible with bug 1.x, machine arch ${PN}

Denis 'GNUtoo' Carikli GNUtoo at no-log.org
Thu Feb 17 14:39:07 UTC 2011


Some packages like bug2v4l2 are specific to bug 2.0, so we need
  to machine arch the package depending on them.
We also need to

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
---
 recipes/tasks/task-bug.bb |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/recipes/tasks/task-bug.bb b/recipes/tasks/task-bug.bb
index 2fbcb6d..1317a6e 100644
--- a/recipes/tasks/task-bug.bb
+++ b/recipes/tasks/task-bug.bb
@@ -1,12 +1,14 @@
 # Copyright (C) 2011 Bug Labs, Inc
 
-PR = "r87"
+PR = "r88"
 
 ALLOW_EMPTY = "1"
 
 PACKAGES += "${PN}-java ${PN}-java-osgi ${PN}-audio ${PN}-devlangs ${PN}-x11 ${PN}-network ${PN}-x11-debug ${PN}-debug"
 
-RDEPENDS_${PN} = "kernel-modules \
+PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}"
+
+RDEPENDS_${PN} = "${MACHINE_EXTRA_RRECOMMENDS} \
                   bug-udev \
                   repo-feed-configs \
                   diffutils \
@@ -19,12 +21,11 @@ RDEPENDS_${PN} = "kernel-modules \
                   nano \
                   lsof \
                   file \
-                  bug2v4l2 \
 "
+RDEPENDS_${PN}_append_bug20 = "bug2v4l2"
 
 RDEPENDS_${PN}-network = "\
                   dnsmasq \
-                  marvell-sdio-fw \
                   hostap-daemon \
                   iptables \
                   eject \
-- 
1.7.0.4





More information about the Openembedded-devel mailing list