diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:38:32 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:50:20 +0100 |
commit | e2e6f6fe07049f33cb6348780fa975162752e421 (patch) | |
tree | b1813295411235d1297a0ed642b1346b24fdfb12 /meta/recipes-devtools/devel-config/distcc-config.bb | |
download | poky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz |
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-devtools/devel-config/distcc-config.bb')
-rw-r--r-- | meta/recipes-devtools/devel-config/distcc-config.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-devtools/devel-config/distcc-config.bb b/meta/recipes-devtools/devel-config/distcc-config.bb new file mode 100644 index 0000000000..c9c024dde9 --- /dev/null +++ b/meta/recipes-devtools/devel-config/distcc-config.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "Sets up distcc for compilation on the target device" | ||
2 | |||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
5 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
6 | |||
7 | SRC_URI = "file://distcc.sh" | ||
8 | |||
9 | S = "${WORKDIR}" | ||
10 | |||
11 | # Default to the host machine for a running qemu session | ||
12 | DISTCC_HOSTS ?= "192.168.7.1" | ||
13 | |||
14 | do_configure() { | ||
15 | sed -i "s%@DISTCC_HOSTS@%${DISTCC_HOSTS}%" distcc.sh | ||
16 | } | ||
17 | |||
18 | do_install() { | ||
19 | install -d ${D}${sysconfdir}/profile.d | ||
20 | install -m 0755 distcc.sh ${D}${sysconfdir}/profile.d/ | ||
21 | } | ||
22 | |||
23 | RDEPENDS_${PN} = "distcc" | ||