blob: 1601b16f626b7b4bfba152f6554d9982a7d3b3ba [file] [log] [blame]
Vijay Khemka7ec20042019-04-03 11:56:52 -07001SUMMARY = "Facebook OEM IPMI commands"
2DESCRIPTION = "Facebook OEM IPMI commands"
3
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=9e69ba356fa59848ffd865152a3ccc13"
6
7SRC_URI = "git://github.com/openbmc/fb-ipmi-oem"
Andrew Geissler911f50f2019-05-10 21:10:27 +00008SRCREV = "1744cb3adedb262302df60d7beb3feb55f89f474"
Vijay Khemka7ec20042019-04-03 11:56:52 -07009
10S = "${WORKDIR}/git"
11PV = "0.1+git${SRCPV}"
12
13DEPENDS = "boost phosphor-ipmi-host phosphor-logging systemd "
14
15inherit cmake obmc-phosphor-ipmiprovider-symlink
16
17EXTRA_OECMAKE="-DENABLE_TEST=0 -DYOCTO=1"
18
19LIBRARY_NAMES = "libzfboemcmds.so"
20
21HOSTIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}"
22NETIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}"
23
Vijay Khemka6f59fd92019-08-30 10:16:29 -070024FILES_${PN}_append = " ${datadir}/ipmi-providers/post_desc.json"
25FILES_${PN}_append = " ${datadir}/ipmi-providers/gpio_desc.json"
26
Vijay Khemka7ec20042019-04-03 11:56:52 -070027FILES_${PN}_append = " ${libdir}/ipmid-providers/lib*${SOLIBS}"
28FILES_${PN}_append = " ${libdir}/host-ipmid/lib*${SOLIBS}"
29FILES_${PN}_append = " ${libdir}/net-ipmid/lib*${SOLIBS}"
30FILES_${PN}-dev_append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV}"
31
32do_install_append(){
33 install -d ${D}${includedir}/fb-ipmi-oem
34 install -m 0644 -D ${S}/include/*.hpp ${D}${includedir}/fb-ipmi-oem
35}