blob: ceade37d2b6c271168854cdd535672b5736aa36d [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
7SRC_URI = "git://github.com/openbmc/fb-ipmi-oem"
Patrick Williams21e4b052021-09-03 18:50:13 -05008SRCREV = "485f9b31cbdc8e8aebdfb18729f541f41227522d"
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
15inherit cmake obmc-phosphor-ipmiprovider-symlink
16
17EXTRA_OECMAKE="-DENABLE_TEST=0 -DYOCTO=1"
Patrick Williams6f746642021-08-06 07:40:55 -050018EXTRA_OECMAKE:append:yosemitev2 = " -DBIC=1"
Vijay Khemka7ec20042019-04-03 11:56:52 -070019
Patrick Williams6f746642021-08-06 07:40:55 -050020EXTRA_OECMAKE:append = " -DHOST_INSTANCES='${OBMC_HOST_INSTANCES}'"
Jayashree-D5521d242021-02-04 17:02:51 +053021
Vijay Khemka7ec20042019-04-03 11:56:52 -070022LIBRARY_NAMES = "libzfboemcmds.so"
23
24HOSTIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}"
25NETIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}"
26
Patrick Williams6f746642021-08-06 07:40:55 -050027FILES:${PN}:append = " ${datadir}/lcd-debug/post_desc.json"
28FILES:${PN}:append = " ${datadir}/lcd-debug/gpio_desc.json"
29FILES:${PN}:append = " ${datadir}/lcd-debug/cri_sensors.json"
Vijay Khemka6f59fd92019-08-30 10:16:29 -070030
Patrick Williams6f746642021-08-06 07:40:55 -050031FILES:${PN}:append = " ${libdir}/ipmid-providers/lib*${SOLIBS}"
32FILES:${PN}:append = " ${libdir}/host-ipmid/lib*${SOLIBS}"
33FILES:${PN}:append = " ${libdir}/net-ipmid/lib*${SOLIBS}"
34FILES:${PN}-dev:append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV}"
Vijay Khemka7ec20042019-04-03 11:56:52 -070035
Patrick Williams6f746642021-08-06 07:40:55 -050036do_install:append(){
Vijay Khemka7ec20042019-04-03 11:56:52 -070037 install -d ${D}${includedir}/fb-ipmi-oem
38 install -m 0644 -D ${S}/include/*.hpp ${D}${includedir}/fb-ipmi-oem
39}