diff options
author | Tom Joseph <tomjoseph@in.ibm.com> | 2017-02-01 19:47:27 +0530 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-02-01 19:57:35 +0000 |
commit | dcdc8ea6109f1ebcf8378b9ccf73b0672da5032c (patch) | |
tree | fec3b71739b734490c2122b0aafa28ce3851941d /meta-openbmc-machines/meta-openpower | |
parent | 821d074359f9259bf8f1b6cf34fc81368f79611a (diff) | |
download | talos-openbmc-dcdc8ea6109f1ebcf8378b9ccf73b0672da5032c.tar.gz talos-openbmc-dcdc8ea6109f1ebcf8378b9ccf73b0672da5032c.zip |
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 <tomjoseph@in.ibm.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower')
-rw-r--r-- | meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/openpower-ipmi-oem.bb | 7 |
1 files changed, 6 insertions, 1 deletions
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" |