diff options
| author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
|---|---|---|
| committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
| commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
| tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-devtools/devel-config | |
| download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz | |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-devtools/devel-config')
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 @@ | |||
| 1 | SUMMARY = "Sets up distcc for compilation on the target device" | ||
| 2 | |||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ | ||
| 5 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 6 | |||
| 7 | SRC_URI = "file://distcc.sh" | ||
| 8 | |||
| 9 | S = "${WORKDIR}" | ||
| 10 | |||
| 11 | # Default to the host machine for a running qemu session | ||
| 12 | DISTCC_HOSTS ?= "192.168.7.1" | ||
| 13 | |||
| 14 | do_configure() { | ||
| 15 | sed -i "s%@DISTCC_HOSTS@%${DISTCC_HOSTS}%" distcc.sh | ||
| 16 | } | ||
| 17 | |||
| 18 | do_install() { | ||
| 19 | install -d ${D}${sysconfdir}/profile.d | ||
| 20 | install -m 0755 distcc.sh ${D}${sysconfdir}/profile.d/ | ||
| 21 | } | ||
| 22 | |||
| 23 | RDEPENDS_${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 @@ | |||
| 1 | DISTCC_HOSTS="@DISTCC_HOSTS@" | ||
| 2 | #DISTCC_VERBOSE="1" | ||
| 3 | |||
| 4 | export 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 @@ | |||
| 1 | SUMMARY = "Configuration script to export target rootfs filesystem" | ||
| 2 | DESCRIPTION = "Enables NFS access from any host to the entire filesystem (for development purposes)." | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ | ||
| 5 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 6 | |||
| 7 | PR = "r1" | ||
| 8 | |||
| 9 | SRC_URI = "file://exports" | ||
| 10 | |||
| 11 | S = "${WORKDIR}" | ||
| 12 | |||
| 13 | do_install() { | ||
| 14 | install -d ${D}${sysconfdir} | ||
| 15 | install -m 0644 exports ${D}${sysconfdir}/ | ||
| 16 | } | ||
| 17 | |||
| 18 | RDEPENDS_${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) | |||
