summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/qemu-config/qemu-config.bb
blob: 3ed07df91aaa5e0de8e9ddb8760c27580299beaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "Adds scripts to use distcc on the host system under qemu"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"


COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemumips|qemuppc)"

PR = "r25"

SRC_URI = "file://distcc.sh"

S = "${WORKDIR}"

do_install() {
    install -d ${D}${sysconfdir}/profile.d
    install -m 0755 distcc.sh ${D}${sysconfdir}/profile.d/
}

RDEPENDS_${PN} = "distcc oprofileui-server bash"

inherit allarch