diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2016-08-17 00:51:35 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-09-02 21:54:51 +0300 |
commit | 6b136a4377c420f8c6d46dca6f07a6d3bf471bae (patch) | |
tree | d0c7f4303413fb9a1c8d73dc24a0f1928a7bfb4b /meta-phosphor/common/recipes-phosphor/host-ipmid | |
parent | 5c5d12b80bd389866b60083decc4e8a5e2eca1b3 (diff) | |
download | openbmc-6b136a4377c420f8c6d46dca6f07a6d3bf471bae.tar.xz |
Convert build process to autotools
Update host-ipmid recipe to utilize autotools and added required
dependencies for configuring and compiling the package.
Change-Id: Iacb0e2ba0f55432576ea6a19fbabb626154e7ad1
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/host-ipmid')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb index 1828383f07..5544951a07 100644 --- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb +++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb @@ -7,14 +7,14 @@ RRECOMMENDS_${PN} += "virtual/obmc-phosphor-host-ipmi-hw" RRECOMMENDS_${PN} += "${VIRTUAL-RUNTIME_obmc-phosphor-ipmi-parsers}" - +inherit autotools pkgconfig inherit obmc-phosphor-license inherit obmc-phosphor-sdbus-service -inherit obmc-phosphor-c-daemon TARGET_CFLAGS += "-fpic" DEPENDS += "obmc-mapper" +DEPENDS += "autoconf-archive-native" RDEPENDS_${PN}-dev += "obmc-mapper-dev" RDEPENDS_${PN} += "clear-once" RDEPENDS_${PN} += "settings" @@ -22,15 +22,9 @@ RDEPENDS_${PN} += "network" RDEPENDS_${PN} += "libmapper" SRC_URI += "git://github.com/openbmc/phosphor-host-ipmid" -SRCREV = "eb9b814403895d6435e04f02a9ff6c2b1b02cf54" +SRCREV = "3cff7ed7a9e397de35809f787deabcc8a6b3350d" S = "${WORKDIR}/git" -INSTALL_NAME = "ipmid" - -do_install() { - install -m 0755 -d ${D}${libdir}/host-ipmid - install -m 0755 ${S}/*.so ${D}${libdir}/host-ipmid/ - install -m 0755 -d ${D}${includedir}/host-ipmid - install -m 0644 ${S}/ipmid-api.h ${D}${includedir}/host-ipmid/ -} +FILES_${PN}_append = " ${libdir}/host-ipmid/lib*${SOLIBS}" +FILES_${PN}-dev_append = " ${libdir}/host-ipmid/lib*${SOLIBSDEV} ${libdir}/host-ipmid/*.la" |