From ef853d08f8a27890aa94c78bdee0c49153fb3db2 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 4 Dec 2006 08:53:50 +0000 Subject: [PATCH] Add qemu-distcc for qemu machines git-svn-id: https://svn.o-hand.com/repos/poky/trunk@994 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/conf/distro/poky.conf | 2 ++ meta/packages/oh/qemu-distcc.bb | 15 +++++++++++++++ meta/packages/oh/qemu-distcc/distcc.sh | 4 ++++ 3 files changed, 21 insertions(+) create mode 100644 meta/packages/oh/qemu-distcc.bb create mode 100644 meta/packages/oh/qemu-distcc/distcc.sh 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" DISTRO_FEATURES = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi" DISTRO_FEATURES_cmx270 = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost" +DISTRO_EXTRA_RDEPENDS_qemuarm += "qemu-distcc" +DISTRO_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 @@ +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 0000000000..a2b543d6b8 --- /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 -- 2.40.1