summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/devel-config
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/devel-config')
-rw-r--r--meta/recipes-devtools/devel-config/distcc-config.bb23
-rw-r--r--meta/recipes-devtools/devel-config/distcc-config/distcc.sh4
-rw-r--r--meta/recipes-devtools/devel-config/nfs-export-root.bb18
-rw-r--r--meta/recipes-devtools/devel-config/nfs-export-root/exports1
4 files changed, 46 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..cb7830b999
--- /dev/null
+++ b/meta/recipes-devtools/devel-config/distcc-config.bb
@@ -0,0 +1,23 @@
1SUMMARY = "Sets up distcc for compilation on the target device"
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
5 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
6
7SRC_URI = "file://distcc.sh"
8
9S = "${WORKDIR}"
10
11# Default to the host machine for a running qemu session
12DISTCC_HOSTS ?= "192.168.7.1"
13
14do_configure() {
15 sed -i "s%@DISTCC_HOSTS@%${DISTCC_HOSTS}%" distcc.sh
16}
17
18do_install() {
19 install -d ${D}${sysconfdir}/profile.d
20 install -m 0755 distcc.sh ${D}${sysconfdir}/profile.d/
21}
22
23RDEPENDS_${PN} = "distcc"
diff --git a/meta/recipes-devtools/devel-config/distcc-config/distcc.sh b/meta/recipes-devtools/devel-config/distcc-config/distcc.sh
new file mode 100644
index 0000000000..b4205931dc
--- /dev/null
+++ b/meta/recipes-devtools/devel-config/distcc-config/distcc.sh
@@ -0,0 +1,4 @@
1DISTCC_HOSTS="@DISTCC_HOSTS@"
2#DISTCC_VERBOSE="1"
3
4export DISTCC_HOSTS
diff --git a/meta/recipes-devtools/devel-config/nfs-export-root.bb b/meta/recipes-devtools/devel-config/nfs-export-root.bb
new file mode 100644
index 0000000000..169d00581d
--- /dev/null
+++ b/meta/recipes-devtools/devel-config/nfs-export-root.bb
@@ -0,0 +1,18 @@
1SUMMARY = "Configuration script to export target rootfs filesystem"
2DESCRIPTION = "Enables NFS access from any host to the entire filesystem (for development purposes)."
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
5 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
6
7PR = "r1"
8
9SRC_URI = "file://exports"
10
11S = "${WORKDIR}"
12
13do_install() {
14 install -d ${D}${sysconfdir}
15 install -m 0644 exports ${D}${sysconfdir}/
16}
17
18RDEPENDS_${PN} = "packagegroup-core-nfs-server"
diff --git a/meta/recipes-devtools/devel-config/nfs-export-root/exports b/meta/recipes-devtools/devel-config/nfs-export-root/exports
new file mode 100644
index 0000000000..1353c5ad82
--- /dev/null
+++ b/meta/recipes-devtools/devel-config/nfs-export-root/exports
@@ -0,0 +1 @@
/ *(rw,no_root_squash,async,no_subtree_check)