blob: b68ecc56d563ffec19dace50f8f257b012b5712d [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 Geisslerfb5ab5c2020-11-04 23:00:20 +00008SRCREV = "17cf1349b9452a61e8303fa757a7e8ff64146626"
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"
Kumar Thangaveld680b4a2020-06-16 22:43:39 +053018EXTRA_OECMAKE_append_yosemitev2 = " -DBIC=1"
Vijay Khemka7ec20042019-04-03 11:56:52 -070019
20LIBRARY_NAMES = "libzfboemcmds.so"
21
22HOSTIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}"
23NETIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}"
24
Vijay Khemkaef43ca22019-12-26 16:09:08 -080025FILES_${PN}_append = " ${datadir}/lcd-debug/post_desc.json"
26FILES_${PN}_append = " ${datadir}/lcd-debug/gpio_desc.json"
27FILES_${PN}_append = " ${datadir}/lcd-debug/cri_sensors.json"
Vijay Khemka6f59fd92019-08-30 10:16:29 -070028
Vijay Khemka7ec20042019-04-03 11:56:52 -070029FILES_${PN}_append = " ${libdir}/ipmid-providers/lib*${SOLIBS}"
30FILES_${PN}_append = " ${libdir}/host-ipmid/lib*${SOLIBS}"
31FILES_${PN}_append = " ${libdir}/net-ipmid/lib*${SOLIBS}"
32FILES_${PN}-dev_append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV}"
33
34do_install_append(){
35 install -d ${D}${includedir}/fb-ipmi-oem
36 install -m 0644 -D ${S}/include/*.hpp ${D}${includedir}/fb-ipmi-oem
37}