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 | 9ad5478 | 2021-10-25 11:30:27 +0000 | [diff] [blame] | 8 | SRCREV = "dd0415b50776fade388ac7523f8aabe6a8a9fb68" |
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 | |
Patrick Williams | 0932fc3 | 2021-12-17 06:58:25 -0600 | [diff] [blame] | 15 | inherit cmake pkgconfig obmc-phosphor-ipmiprovider-symlink |
Vijay Khemka | 7ec2004 | 2019-04-03 11:56:52 -0700 | [diff] [blame] | 16 | |
| 17 | EXTRA_OECMAKE="-DENABLE_TEST=0 -DYOCTO=1" |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame] | 18 | EXTRA_OECMAKE:append:yosemitev2 = " -DBIC=1" |
Vijay Khemka | 7ec2004 | 2019-04-03 11:56:52 -0700 | [diff] [blame] | 19 | |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame] | 20 | EXTRA_OECMAKE:append = " -DHOST_INSTANCES='${OBMC_HOST_INSTANCES}'" |
Jayashree-D | 5521d24 | 2021-02-04 17:02:51 +0530 | [diff] [blame] | 21 | |
Vijay Khemka | 7ec2004 | 2019-04-03 11:56:52 -0700 | [diff] [blame] | 22 | LIBRARY_NAMES = "libzfboemcmds.so" |
| 23 | |
| 24 | HOSTIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}" |
| 25 | NETIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}" |
| 26 | |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame] | 27 | FILES:${PN}:append = " ${datadir}/lcd-debug/post_desc.json" |
| 28 | FILES:${PN}:append = " ${datadir}/lcd-debug/gpio_desc.json" |
| 29 | FILES:${PN}:append = " ${datadir}/lcd-debug/cri_sensors.json" |
Vijay Khemka | 6f59fd9 | 2019-08-30 10:16:29 -0700 | [diff] [blame] | 30 | |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame] | 31 | FILES:${PN}:append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" |
| 32 | FILES:${PN}:append = " ${libdir}/host-ipmid/lib*${SOLIBS}" |
| 33 | FILES:${PN}:append = " ${libdir}/net-ipmid/lib*${SOLIBS}" |
| 34 | FILES:${PN}-dev:append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV}" |
Vijay Khemka | 7ec2004 | 2019-04-03 11:56:52 -0700 | [diff] [blame] | 35 | |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame] | 36 | do_install:append(){ |
Vijay Khemka | 7ec2004 | 2019-04-03 11:56:52 -0700 | [diff] [blame] | 37 | install -d ${D}${includedir}/fb-ipmi-oem |
| 38 | install -m 0644 -D ${S}/include/*.hpp ${D}${includedir}/fb-ipmi-oem |
| 39 | } |