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 | |
Patrick Williams | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame] | 7 | SRC_URI = "git://github.com/openbmc/fb-ipmi-oem;branch=master;protocol=https" |
Andrew Geissler | 1efd394 | 2022-06-22 07:40:02 -0500 | [diff] [blame] | 8 | SRCREV = "17bd2eabd11366185ff6c23a0300302da9f87229" |
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 | |
Andrew Geissler | 1efd394 | 2022-06-22 07:40:02 -0500 | [diff] [blame] | 15 | inherit meson pkgconfig obmc-phosphor-ipmiprovider-symlink |
Vijay Khemka | 7ec2004 | 2019-04-03 11:56:52 -0700 | [diff] [blame] | 16 | |
Andrew Geissler | 1efd394 | 2022-06-22 07:40:02 -0500 | [diff] [blame] | 17 | EXTRA_OECMAKE="-Dtests=0 -Dbic=0 -Dhost-instances='${OBMC_HOST_INSTANCES}'" |
| 18 | EXTRA_OECMAKE:remove:yosemitev2 = "-Dbic=0" |
Jayashree-D | 5521d24 | 2021-02-04 17:02:51 +0530 | [diff] [blame] | 19 | |
Vijay Khemka | 7ec2004 | 2019-04-03 11:56:52 -0700 | [diff] [blame] | 20 | LIBRARY_NAMES = "libzfboemcmds.so" |
| 21 | |
| 22 | HOSTIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}" |
| 23 | NETIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}" |
| 24 | |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [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 | |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [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}" |
Vijay Khemka | 7ec2004 | 2019-04-03 11:56:52 -0700 | [diff] [blame] | 33 | |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame] | 34 | do_install:append(){ |
Vijay Khemka | 7ec2004 | 2019-04-03 11:56:52 -0700 | [diff] [blame] | 35 | install -d ${D}${includedir}/fb-ipmi-oem |
| 36 | install -m 0644 -D ${S}/include/*.hpp ${D}${includedir}/fb-ipmi-oem |
| 37 | } |