summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/recipes-phosphor/skeleton/obmc-libobmc-intf_git.bb
blob: 59692ecb8257dbd96a047f7f073005e491c3994a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SUMMARY = "OpenBMC gdbus library"
DESCRIPTION = "libopenbmc_intf provides a set of gpio access \
methods and the GDBUS skeleton code for the org.openbmc DBUS API."
PR = "r1"
PV = "1.0+git${SRCPV}"

inherit skeleton
inherit pkgconfig

DEPENDS += "glib-2.0"
DEPENDS += "cjson"

SKELETON_DIR = "libopenbmc_intf"

SRC_URI += "file://gpio_defs.json"

do_install() {
        oe_runmake install DESTDIR=${D}

        install -d ${D}${sysconfdir}/default/obmc/gpio/
        install -m 0644 ${WORKDIR}/gpio_defs.json ${D}/${sysconfdir}/default/obmc/gpio/
}
OpenPOWER on IntegriCloud