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 | e13e8a4 | 2023-10-06 07:40:13 -0500 | [diff] [blame] | 8 | SRCREV = "8713427cf5f7059a1f434395ad7830bff54868c8" |
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 | |
Patrick Williams | 9cf368f | 2022-08-11 07:15:51 -0500 | [diff] [blame] | 17 | PACKAGECONFIG ??= "" |
| 18 | PACKAGECONFIG:fb-compute-multihost ??= "bic" |
| 19 | |
| 20 | PACKAGECONFIG[bic] = "-Dbic=enabled,-Dbic=disabled" |
| 21 | |
| 22 | EXTRA_OEMESON="\ |
| 23 | -Dtests=disabled \ |
| 24 | -Dmachine='${MACHINE}' \ |
| 25 | -Dhost-instances='${OBMC_HOST_INSTANCES}' \ |
| 26 | " |
Jayashree-D | 5521d24 | 2021-02-04 17:02:51 +0530 | [diff] [blame] | 27 | |
Vijay Khemka | 7ec2004 | 2019-04-03 11:56:52 -0700 | [diff] [blame] | 28 | LIBRARY_NAMES = "libzfboemcmds.so" |
| 29 | |
| 30 | HOSTIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}" |
| 31 | NETIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}" |
| 32 | |
Karthikeyan Pasupathi | c77d41d | 2022-06-22 12:55:04 +0530 | [diff] [blame] | 33 | FILES:${PN}:append = " ${datadir}/lcd-debug/*.json" |
Vijay Khemka | 6f59fd9 | 2019-08-30 10:16:29 -0700 | [diff] [blame] | 34 | |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame] | 35 | FILES:${PN}:append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" |
| 36 | FILES:${PN}:append = " ${libdir}/host-ipmid/lib*${SOLIBS}" |
| 37 | FILES:${PN}:append = " ${libdir}/net-ipmid/lib*${SOLIBS}" |
| 38 | FILES:${PN}-dev:append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV}" |
Vijay Khemka | 7ec2004 | 2019-04-03 11:56:52 -0700 | [diff] [blame] | 39 | |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame] | 40 | do_install:append(){ |
Vijay Khemka | 7ec2004 | 2019-04-03 11:56:52 -0700 | [diff] [blame] | 41 | install -d ${D}${includedir}/fb-ipmi-oem |
| 42 | install -m 0644 -D ${S}/include/*.hpp ${D}${includedir}/fb-ipmi-oem |
| 43 | } |