blob: 3db4e233dc70ae08ff2ba81c27666c0ca11e0a0c [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
Patrick Williamsbb99d222022-01-24 15:55:09 -06007SRC_URI = "git://github.com/openbmc/fb-ipmi-oem;branch=master;protocol=https"
Andrew Geissler63dea372024-02-27 08:00:12 -06008SRCREV = "7451903cddb3c35b730ae629fd3a17c5ab1a0b66"
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
Andrew Geissler1efd3942022-06-22 07:40:02 -050015inherit meson pkgconfig obmc-phosphor-ipmiprovider-symlink
Vijay Khemka7ec20042019-04-03 11:56:52 -070016
Patrick Williams9cf368f2022-08-11 07:15:51 -050017PACKAGECONFIG ??= ""
18PACKAGECONFIG:fb-compute-multihost ??= "bic"
19
20PACKAGECONFIG[bic] = "-Dbic=enabled,-Dbic=disabled"
21
22EXTRA_OEMESON="\
23 -Dtests=disabled \
24 -Dmachine='${MACHINE}' \
25 -Dhost-instances='${OBMC_HOST_INSTANCES}' \
26 "
Jayashree-D5521d242021-02-04 17:02:51 +053027
Vijay Khemka7ec20042019-04-03 11:56:52 -070028LIBRARY_NAMES = "libzfboemcmds.so"
29
30HOSTIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}"
31NETIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}"
32
Karthikeyan Pasupathic77d41d2022-06-22 12:55:04 +053033FILES:${PN}:append = " ${datadir}/lcd-debug/*.json"
Vijay Khemka6f59fd92019-08-30 10:16:29 -070034
Patrick Williams6f746642021-08-06 07:40:55 -050035FILES:${PN}:append = " ${libdir}/ipmid-providers/lib*${SOLIBS}"
36FILES:${PN}:append = " ${libdir}/host-ipmid/lib*${SOLIBS}"
37FILES:${PN}:append = " ${libdir}/net-ipmid/lib*${SOLIBS}"
38FILES:${PN}-dev:append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV}"
Vijay Khemka7ec20042019-04-03 11:56:52 -070039
Patrick Williams6f746642021-08-06 07:40:55 -050040do_install:append(){
Vijay Khemka7ec20042019-04-03 11:56:52 -070041 install -d ${D}${includedir}/fb-ipmi-oem
42 install -m 0644 -D ${S}/include/*.hpp ${D}${includedir}/fb-ipmi-oem
43}