summaryrefslogtreecommitdiff
path: root/meta-phosphor/classes/obmc-phosphor-c-daemon.bbclass
blob: e21d17c055def402e2528ee595b0541dd584ae09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Common code for dbus applications using c.

inherit obmc-phosphor-systemd
inherit obmc-phosphor-license

DEPENDS += "glib-2.0"
SRC_URI += " \
        file://Makefile \
        file://${PN}.c \
        "
S = "${WORKDIR}"

do_install_append() {
        # install the binary
        install -d ${D}${sbindir}
        install -m 0755 ${WORKDIR}/${PN} ${D}${sbindir}
}