blob: 07ed884176012045b2ae82a64f0e26012c3ea8fc [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 Geissler6edd78a2020-08-21 22:40:36 +00008SRCREV = "41ad4ff17ab139d330a08109c1d561c3241e5cfa"
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 Khemkaef43ca22019-12-26 16:09:08 -080024FILES_${PN}_append = " ${datadir}/lcd-debug/post_desc.json"
25FILES_${PN}_append = " ${datadir}/lcd-debug/gpio_desc.json"
26FILES_${PN}_append = " ${datadir}/lcd-debug/cri_sensors.json"
Vijay Khemka6f59fd92019-08-30 10:16:29 -070027
Vijay Khemka7ec20042019-04-03 11:56:52 -070028FILES_${PN}_append = " ${libdir}/ipmid-providers/lib*${SOLIBS}"
29FILES_${PN}_append = " ${libdir}/host-ipmid/lib*${SOLIBS}"
30FILES_${PN}_append = " ${libdir}/net-ipmid/lib*${SOLIBS}"
31FILES_${PN}-dev_append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV}"
32
33do_install_append(){
34 install -d ${D}${includedir}/fb-ipmi-oem
35 install -m 0644 -D ${S}/include/*.hpp ${D}${includedir}/fb-ipmi-oem
36}