opensaf: add optional openhpi support

OpenSAF uses OpenHPI if available.  If openhpi happens to be in
PACKAGECONFIG from the build, turn on support in OpenSAF and add it to the
DEPENDS list.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
Joe MacDonald
2015-07-16 16:43:19 -04:00
parent fb815a114b
commit 8064196b93
@@ -37,6 +37,7 @@ SYSTEMD_SERVICE_${PN} += "opensafd.service plmcboot.service plmcd.service"
SYSTEMD_AUTO_ENABLE = "disable" SYSTEMD_AUTO_ENABLE = "disable"
PACKAGECONFIG[systemd] = "--enable-systemd-daemon" PACKAGECONFIG[systemd] = "--enable-systemd-daemon"
PACKAGECONFIG[openhpi] = "--with-hpi-interface=B03 --enable-ais-plm,,openhpi"
do_configure_prepend () { do_configure_prepend () {
( cd ${S}; autoreconf -f -i -s ) ( cd ${S}; autoreconf -f -i -s )