citadel/meta/recipes-devtools/devel-config/distcc-config.bb
brl 098b8f982b Squashed 'poky/' content from commit 4469acdf1d
git-subtree-dir: poky
git-subtree-split: 4469acdf1d0338220f3fe2ecb5e079eea6fda375
2017-12-04 16:35:29 -05:00

23 lines
526 B
BlitzBasic

SUMMARY = "Sets up distcc for compilation on the target device"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
SRC_URI = "file://distcc.sh"
S = "${WORKDIR}"
# Default to the host machine for a running qemu session
DISTCC_HOSTS ?= "192.168.7.1"
do_configure() {
sed -i "s%@DISTCC_HOSTS@%${DISTCC_HOSTS}%" distcc.sh
}
do_install() {
install -d ${D}${sysconfdir}/profile.d
install -m 0755 distcc.sh ${D}${sysconfdir}/profile.d/
}
RDEPENDS_${PN} = "distcc"