blob: 28586a989438282637c7180df4fe0483ff890655 [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"
Andrew Geisslerdac9ebf2021-04-22 18:00:12 +00008SRCREV = "58c1ca2f7cc58eacc059486bacb66d152de0631c"
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"
Kumar Thangaveld680b4a2020-06-16 22:43:39 +053018EXTRA_OECMAKE_append_yosemitev2 = " -DBIC=1"
Vijay Khemka7ec20042019-04-03 11:56:52 -070019
Jayashree-D5521d242021-02-04 17:02:51 +053020EXTRA_OECMAKE_append = " -DHOST_INSTANCES='${OBMC_HOST_INSTANCES}'"
21
Vijay Khemka7ec20042019-04-03 11:56:52 -070022LIBRARY_NAMES = "libzfboemcmds.so"
23
24HOSTIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}"
25NETIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}"
26
Vijay Khemkaef43ca22019-12-26 16:09:08 -080027FILES_${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
Vijay Khemka7ec20042019-04-03 11:56:52 -070031FILES_${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}"
35
36do_install_append(){
37 install -d ${D}${includedir}/fb-ipmi-oem
38 install -m 0644 -D ${S}/include/*.hpp ${D}${includedir}/fb-ipmi-oem
39}