diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2016-10-20 00:00:49 +0300 |
---|---|---|
committer | Matthew Barth <msbarth@us.ibm.com> | 2016-10-20 20:30:40 +0300 |
commit | fc77ec4cee68b76294c4b69948545b77e4ee6d93 (patch) | |
tree | 16702c425aec39b6247965af6445423c8f09de33 /meta-phosphor/common/recipes-phosphor/host-ipmid | |
parent | 3d4470fa0312e30dd817241aa40ceb5b458797e6 (diff) | |
download | openbmc-fc77ec4cee68b76294c4b69948545b77e4ee6d93.tar.xz |
ipmi-fru-parser: Convert build process to autotools
Change-Id: Ie700729e569fcacdc43d72ec2168cdd1abb0a623
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-fru.bb | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb index d6e8e17bbc..c8dd3f9dca 100644 --- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb +++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb @@ -3,30 +3,25 @@ DESCRIPTION = "Phosphor OpenBMC WriteFRU for OpenPOWER based systems" HOMEPAGE = "https://github.com/openbmc/ipmi-fru-parser" PR = "r1" +inherit autotools pkgconfig inherit obmc-phosphor-license inherit obmc-phosphor-systemd DEPENDS += " \ systemd \ host-ipmid \ + phosphor-mapper \ + autoconf-archive-native \ " RDEPENDS_${PN} += "libsystemd" -TARGET_CXXFLAGS += " -fpic -std=gnu++14" -TARGET_CFLAGS += " -fpic" SYSTEMD_SERVICE_${PN} += "obmc-read-eeprom@.service" SRC_URI += "git://github.com/openbmc/ipmi-fru-parser" - -SRCREV = "155c34fbb61071f5b51240c4a50b49391e0877c1" - -FILES_SOLIBSDEV += "${libdir}/host-ipmid/lib*${SOLIBSDEV}" -FILES_${PN} += "${libdir}/host-ipmid/lib*${SOLIBS}" -FILES_${PN}-dbg += "${libdir}/host-ipmid/.debug/lib*${SOLIBS}" +SRCREV = "ce3490e71f9f91bd20dbb9ac037079de4a3580a8" S = "${WORKDIR}/git" -do_install() { - oe_runmake install DESTDIR=${D} LIBDIR=${libdir} BINDIR=${sbindir} -} +FILES_${PN}_append = " ${libdir}/host-ipmid/lib*${SOLIBS}" +FILES_${PN}-dev_append = " ${libdir}/host-ipmid/lib*${SOLIBSDEV} ${libdir}/host-ipmid/*.la" |