Vijay Khemka | 7ec2004 | 2019-04-03 11:56:52 -0700 | [diff] [blame] | 1 | SUMMARY = "Facebook OEM IPMI commands" |
| 2 | DESCRIPTION = "Facebook OEM IPMI commands" |
| 3 | |
| 4 | LICENSE = "Apache-2.0" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9e69ba356fa59848ffd865152a3ccc13" |
| 6 | |
| 7 | SRC_URI = "git://github.com/openbmc/fb-ipmi-oem" |
Andrew Geissler | e673f52 | 2021-03-10 13:40:42 +0000 | [diff] [blame] | 8 | SRCREV = "c723d6a5917cde0808713bc57934eb503fa20b8a" |
Vijay Khemka | 7ec2004 | 2019-04-03 11:56:52 -0700 | [diff] [blame] | 9 | |
| 10 | S = "${WORKDIR}/git" |
| 11 | PV = "0.1+git${SRCPV}" |
| 12 | |
| 13 | DEPENDS = "boost phosphor-ipmi-host phosphor-logging systemd " |
| 14 | |
| 15 | inherit cmake obmc-phosphor-ipmiprovider-symlink |
| 16 | |
| 17 | EXTRA_OECMAKE="-DENABLE_TEST=0 -DYOCTO=1" |
Kumar Thangavel | d680b4a | 2020-06-16 22:43:39 +0530 | [diff] [blame] | 18 | EXTRA_OECMAKE_append_yosemitev2 = " -DBIC=1" |
Vijay Khemka | 7ec2004 | 2019-04-03 11:56:52 -0700 | [diff] [blame] | 19 | |
| 20 | LIBRARY_NAMES = "libzfboemcmds.so" |
| 21 | |
| 22 | HOSTIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}" |
| 23 | NETIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}" |
| 24 | |
Vijay Khemka | ef43ca2 | 2019-12-26 16:09:08 -0800 | [diff] [blame] | 25 | FILES_${PN}_append = " ${datadir}/lcd-debug/post_desc.json" |
| 26 | FILES_${PN}_append = " ${datadir}/lcd-debug/gpio_desc.json" |
| 27 | FILES_${PN}_append = " ${datadir}/lcd-debug/cri_sensors.json" |
Vijay Khemka | 6f59fd9 | 2019-08-30 10:16:29 -0700 | [diff] [blame] | 28 | |
Vijay Khemka | 7ec2004 | 2019-04-03 11:56:52 -0700 | [diff] [blame] | 29 | FILES_${PN}_append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" |
| 30 | FILES_${PN}_append = " ${libdir}/host-ipmid/lib*${SOLIBS}" |
| 31 | FILES_${PN}_append = " ${libdir}/net-ipmid/lib*${SOLIBS}" |
| 32 | FILES_${PN}-dev_append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV}" |
| 33 | |
| 34 | do_install_append(){ |
| 35 | install -d ${D}${includedir}/fb-ipmi-oem |
| 36 | install -m 0644 -D ${S}/include/*.hpp ${D}${includedir}/fb-ipmi-oem |
| 37 | } |