From dcdc8ea6109f1ebcf8378b9ccf73b0672da5032c Mon Sep 17 00:00:00 2001 From: Tom Joseph Date: Wed, 1 Feb 2017 19:47:27 +0530 Subject: Create symlink for IPMI Provider libraries The IPMI provider libraries are installed into /usr/lib/ipmid-providers. If the provider library is applicable for host-ipmid channel then soft link is created to /usr/lib/host-ipmid. In this way the soft links are created for the provider library to the corresponding directory. Change-Id: I586bc830efd2b1d1ff1941181d1aa8d9a400f628 Signed-off-by: Tom Joseph --- .../common/recipes-phosphor/ipmi/openpower-ipmi-oem.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'meta-openbmc-machines/meta-openpower/common') diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/openpower-ipmi-oem.bb b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/openpower-ipmi-oem.bb index ff3b814a7..75bda3049 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/openpower-ipmi-oem.bb +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/openpower-ipmi-oem.bb @@ -5,6 +5,8 @@ PR = "r1" inherit autotools pkgconfig inherit obmc-phosphor-license +inherit obmc-phosphor-ipmiprovider-symlink +inherit obmc-phosphor-utils DEPENDS += "phosphor-ipmi-host" DEPENDS += "autoconf-archive-native" @@ -14,7 +16,10 @@ TARGET_CFLAGS += "-fpic" SRC_URI += "git://github.com/openbmc/openpower-host-ipmi-oem" SRCREV = "70dbc5871c6da23f7f14046ce9d356600992f6a8" +HOSTIPMI_PROVIDER_LIBRARY += "liboemhandler.so" + S = "${WORKDIR}/git" +FILES_${PN}_append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" FILES_${PN}_append = " ${libdir}/host-ipmid/lib*${SOLIBS}" -FILES_${PN}-dev_append = " ${libdir}/host-ipmid/lib*${SOLIBSDEV} ${libdir}/host-ipmid/*.la" +FILES_${PN}-dev_append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV} ${libdir}/ipmid-providers/*.la" -- cgit v1.2.1