summaryrefslogtreecommitdiffstats
path: root/meta
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
parent4de307a415fe91127db666676fe192fb47da31e6 (diff)
downloadpoky-ef853d08f8a27890aa94c78bdee0c49153fb3db2.tar.gz
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')
-rw-r--r--meta/conf/distro/poky.conf2
-rw-r--r--meta/packages/oh/qemu-distcc.bb15
-rw-r--r--meta/packages/oh/qemu-distcc/distcc.sh4
3 files changed, 21 insertions, 0 deletions
diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf
index 028887802a..2864894b31 100644
--- a/meta/conf/distro/poky.conf
+++ b/meta/conf/distro/poky.conf
@@ -184,3 +184,5 @@ IMAGE_LINGUAS = "en-gb"
184 184
185DISTRO_FEATURES = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi" 185DISTRO_FEATURES = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi"
186DISTRO_FEATURES_cmx270 = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost" 186DISTRO_FEATURES_cmx270 = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost"
187DISTRO_EXTRA_RDEPENDS_qemuarm += "qemu-distcc"
188DISTRO_EXTRA_RDEPENDS_qemux86 += "qemu-distcc" \ No newline at end of file
diff --git a/meta/packages/oh/qemu-distcc.bb b/meta/packages/oh/qemu-distcc.bb
new file mode 100644
index 0000000000..26179aca70
--- /dev/null
+++ b/meta/packages/oh/qemu-distcc.bb
@@ -0,0 +1,15 @@
1DESCRIPTION = "Adds scripts to use distcc on the host system under qemu"
2LICENSE = "GPL"
3RDEPENDS = "distcc"
4
5SRC_URI = "file://distcc.sh"
6S = "${WORKDIR}"
7
8COMPATIBLE_MACHINE = "(qemuarm|qemux86)"
9PACKAGE_ARCH = "all"
10
11do_install() {
12 install -d ${D}/etc
13 install -d ${D}/etc/profile.d
14 install distcc.sh ${D}/etc/profile.d/
15}
diff --git a/meta/packages/oh/qemu-distcc/distcc.sh b/meta/packages/oh/qemu-distcc/distcc.sh
new file mode 100644
index 0000000000..a2b543d6b8
--- /dev/null
+++ b/meta/packages/oh/qemu-distcc/distcc.sh
@@ -0,0 +1,4 @@
1DISTCC_HOSTS="192.168.7.1"
2#DISTCC_VERBOSE="1"
3
4export DISTCC_HOSTS