[oe] [meta-networking][PATCH] opensaf: Add PACKAGECONFIG for openhpi

Li xin lixin.fnst at cn.fujitsu.com
Fri Jul 17 02:45:20 UTC 2015


opensaf support for the HPI, So provide a PACKAGECONFIG option for openhpi

Signed-off-by: Li Xin <lixin.fnst at cn.fujitsu.com>
---
 meta-networking/recipes-daemons/opensaf/opensaf_4.5.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-daemons/opensaf/opensaf_4.5.0.bb b/meta-networking/recipes-daemons/opensaf/opensaf_4.5.0.bb
index 3d0175e..6ad8a3d 100644
--- a/meta-networking/recipes-daemons/opensaf/opensaf_4.5.0.bb
+++ b/meta-networking/recipes-daemons/opensaf/opensaf_4.5.0.bb
@@ -36,6 +36,8 @@ USERADD_PARAM_${PN} =  "-r -g opensaf -d ${datadir}/opensaf/ -s ${sbindir}/nolog
 SYSTEMD_SERVICE_${PN} += "opensafd.service plmcboot.service plmcd.service"
 SYSTEMD_AUTO_ENABLE = "disable"
 
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'openhpi', 'openhpi', '', d)}"
+PACKAGECONFIG[openhpi] = "--with-hpi-interface=B03 --enable-ais-plm,,openhpi"
 PACKAGECONFIG[systemd] = "--enable-systemd-daemon"
 
 do_configure_prepend () {
-- 
1.8.4.2




More information about the Openembedded-devel mailing list