From 46c7ae687e7a2e94bf3f1bab42aa68ff194da3af Mon Sep 17 00:00:00 2001 From: John Ogness Date: Fri, 2 Nov 2018 09:43:42 +0106 Subject: layer-building: add scripts to automatically build yocto layers The yocto training requires a lot of data to be prebuilt/downloaded (about 15GB). These scripts can be used to automatically download/prebuild all that data and create the various layer tarballs. Signed-off-by: John Ogness --- .../yocto/machines/imx6qdlsabresd.source | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 schulung_tools/layer-building/yocto/machines/imx6qdlsabresd.source (limited to 'schulung_tools/layer-building/yocto/machines/imx6qdlsabresd.source') diff --git a/schulung_tools/layer-building/yocto/machines/imx6qdlsabresd.source b/schulung_tools/layer-building/yocto/machines/imx6qdlsabresd.source new file mode 100644 index 0000000..8290e3c --- /dev/null +++ b/schulung_tools/layer-building/yocto/machines/imx6qdlsabresd.source @@ -0,0 +1,28 @@ +test -d /home/devel/meta-freescale || exit 1 + +setup_extra() { +cat << EOF >> conf/local.conf +IMAGE_FSTYPES += "wic" +EOF + +cat << 'EOF' > conf/bblayers.conf +# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +POKY_BBLAYERS_CONF_VERSION = "2" + +BBPATH = "${TOPDIR}" +BBFILES ?= "" + +BBLAYERS ?= " \ + /home/devel/yocto/source/poky/meta \ + /home/devel/yocto/source/poky/meta-poky \ + /home/devel/yocto/source/poky/meta-yocto-bsp \ + /home/devel/meta-freescale \ + " +EOF +} + +build_extra() { +bitbake core-image-weston +bitbake -c populate_sdk core-image-weston +} -- cgit v1.2.3