summaryrefslogtreecommitdiff
path: root/meta/packages/oh/qemu-config.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/oh/qemu-config.bb')
-rw-r--r--meta/packages/oh/qemu-config.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/packages/oh/qemu-config.bb b/meta/packages/oh/qemu-config.bb
new file mode 100644
index 0000000000..a042725fbe
--- /dev/null
+++ b/meta/packages/oh/qemu-config.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Adds scripts to use distcc on the host system under qemu"
+LICENSE = "GPL"
+RDEPENDS = "distcc"
+PR = "r1"
+
+SRC_URI = "file://distcc.sh \
+ file://exports"
+
+S = "${WORKDIR}"
+
+COMPATIBLE_MACHINE = "(qemuarm|qemux86)"
+PACKAGE_ARCH = "all"
+
+do_install() {
+ install -d ${D}${sysconfdir}/profile.d
+
+ install -m 0755 distcc.sh ${D}${sysconfdir}/profile.d/
+ install -m 0644 exports ${D}${sysconfdir}
+}