[meta-freescale] [PATCH 04/24] web-sysmon: add RDEPENDS and COMPATIBLE_MACHINE

Zhenhua Luo zhenhua.luo at freescale.com
Wed Aug 12 03:22:08 PDT 2015


Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
---
 recipes-extended/web-sysmon/web-sysmon_git.bb | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/recipes-extended/web-sysmon/web-sysmon_git.bb b/recipes-extended/web-sysmon/web-sysmon_git.bb
index 84f60d5..36a0c20 100644
--- a/recipes-extended/web-sysmon/web-sysmon_git.bb
+++ b/recipes-extended/web-sysmon/web-sysmon_git.bb
@@ -3,6 +3,19 @@ SECTION = "web-sysmon"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
 
+RDEPENDS_${PN} = "\
+    bc \
+    cairo \
+    coreutils \
+    cronie \
+    liberation-fonts \
+    lighttpd \
+    lighttpd-module-cgi \
+    lmsensors-sensors \
+    make \
+    rrdtool \
+"
+
 SRC_URI = "git://git.freescale.com/ppc/sdk/web-sysmon-dev.git;nobranch=1"
 SRCREV = "8d0c6eca1113832fabe917fd0cb25abe2d4d7157"
 
@@ -10,8 +23,6 @@ inherit update-rc.d
 
 S = "${WORKDIR}/git"
 
-RDEPENDS_${PN} = "lighttpd"
-
 EXTRA_OEMAKE += "D=${D}"
 do_install () {
         oe_runmake install
@@ -21,3 +32,4 @@ FILES_${PN} += "/"
 
 INITSCRIPT_NAME = "web-sysmon.sh"
 INITSCRIPT_PARAMS = "defaults 99 20"
+COMPATIBLE_MACHINE  = "(qoriq-ppc)"
-- 
2.4.3



More information about the meta-freescale mailing list