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

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

DEPENDS += "glib-2.0"

INSTALL_NAME ?= "${PN}"
BIN_NAME ?= "${INSTALL_NAME}"

do_install_append() {
        # install the binary
        install -d ${D}${sbindir}
        install -m 0755 ${S}/${BIN_NAME} ${D}${sbindir}/${INSTALL_NAME}
}
OpenPOWER on IntegriCloud