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

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