blob: 59692ecb8257dbd96a047f7f073005e491c3994a [file] [log] [blame]
Brad Bishop86ee1cf2016-06-27 14:53:52 -04001SUMMARY = "OpenBMC gdbus library"
2DESCRIPTION = "libopenbmc_intf provides a set of gpio access \
3methods and the GDBUS skeleton code for the org.openbmc DBUS API."
4PR = "r1"
Patrick Venture91150112018-10-23 08:59:23 -07005PV = "1.0+git${SRCPV}"
Brad Bishop86ee1cf2016-06-27 14:53:52 -04006
7inherit skeleton
Saqib Khanc896e752017-11-13 10:47:54 -06008inherit pkgconfig
Brad Bishop86ee1cf2016-06-27 14:53:52 -04009
10DEPENDS += "glib-2.0"
Matt Spinler728258c2018-08-07 16:35:19 -050011DEPENDS += "cjson"
Brad Bishop86ee1cf2016-06-27 14:53:52 -040012
13SKELETON_DIR = "libopenbmc_intf"
14
Matt Spinler728258c2018-08-07 16:35:19 -050015SRC_URI += "file://gpio_defs.json"
16
Brad Bishop86ee1cf2016-06-27 14:53:52 -040017do_install() {
18 oe_runmake install DESTDIR=${D}
Matt Spinler728258c2018-08-07 16:35:19 -050019
20 install -d ${D}${sysconfdir}/default/obmc/gpio/
21 install -m 0644 ${WORKDIR}/gpio_defs.json ${D}/${sysconfdir}/default/obmc/gpio/
Brad Bishop86ee1cf2016-06-27 14:53:52 -040022}