summaryrefslogtreecommitdiff
path: root/meta/packages/oh
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-12-04 08:53:50 +0000
committerRichard Purdie <richard@openedhand.com>2006-12-04 08:53:50 +0000
commitef853d08f8a27890aa94c78bdee0c49153fb3db2 (patch)
tree87e5d5daa7432c53292d3aef2dbd51a78452a912 /meta/packages/oh
parent4de307a415fe91127db666676fe192fb47da31e6 (diff)
downloadopenembedded-core-ef853d08f8a27890aa94c78bdee0c49153fb3db2.tar.gz
openembedded-core-ef853d08f8a27890aa94c78bdee0c49153fb3db2.tar.bz2
openembedded-core-ef853d08f8a27890aa94c78bdee0c49153fb3db2.tar.xz
openembedded-core-ef853d08f8a27890aa94c78bdee0c49153fb3db2.zip
Add qemu-distcc for qemu machines
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@994 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/oh')
-rw-r--r--meta/packages/oh/qemu-distcc.bb15
-rw-r--r--meta/packages/oh/qemu-distcc/distcc.sh4
2 files changed, 19 insertions, 0 deletions
diff --git a/meta/packages/oh/qemu-distcc.bb b/meta/packages/oh/qemu-distcc.bb
new file mode 100644
index 000000000..26179aca7
--- /dev/null
+++ b/meta/packages/oh/qemu-distcc.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "Adds scripts to use distcc on the host system under qemu"
+LICENSE = "GPL"
+RDEPENDS = "distcc"
+
+SRC_URI = "file://distcc.sh"
+S = "${WORKDIR}"
+
+COMPATIBLE_MACHINE = "(qemuarm|qemux86)"
+PACKAGE_ARCH = "all"
+
+do_install() {
+ install -d ${D}/etc
+ install -d ${D}/etc/profile.d
+ install distcc.sh ${D}/etc/profile.d/
+}
diff --git a/meta/packages/oh/qemu-distcc/distcc.sh b/meta/packages/oh/qemu-distcc/distcc.sh
new file mode 100644
index 000000000..a2b543d6b
--- /dev/null
+++ b/meta/packages/oh/qemu-distcc/distcc.sh
@@ -0,0 +1,4 @@
+DISTCC_HOSTS="192.168.7.1"
+#DISTCC_VERBOSE="1"
+
+export DISTCC_HOSTS