blob: 4f85791a3f53b753301a202206825d08c50e13ca [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 Geissler9ad54782021-10-25 11:30:27 +00008SRCREV = "dd0415b50776fade388ac7523f8aabe6a8a9fb68"
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
Patrick Williams0932fc32021-12-17 06:58:25 -060015inherit cmake pkgconfig obmc-phosphor-ipmiprovider-symlink
Vijay Khemka7ec20042019-04-03 11:56:52 -070016
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}