From 6c4837b8d8d9ed3b4821e3c102fad8eb308f5e14 Mon Sep 17 00:00:00 2001 From: Thomas Klaehn Date: Thu, 28 Jan 2021 10:48:04 +0100 Subject: [PATCH] buildconf: Ad buildconf for quemuarm --- buildconf/qemuarm/bblayers.conf.sample | 20 +++++++++++ buildconf/qemuarm/conf-notes.txt | 11 ++++++ buildconf/qemuarm/local.conf.sample | 50 ++++++++++++++++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 buildconf/qemuarm/bblayers.conf.sample create mode 100644 buildconf/qemuarm/conf-notes.txt create mode 100644 buildconf/qemuarm/local.conf.sample diff --git a/buildconf/qemuarm/bblayers.conf.sample b/buildconf/qemuarm/bblayers.conf.sample new file mode 100644 index 0000000..8870963 --- /dev/null +++ b/buildconf/qemuarm/bblayers.conf.sample @@ -0,0 +1,20 @@ +# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +POKY_BBLAYERS_CONF_VERSION = "3" + +BBPATH = "${TOPDIR}" +BBFILES ?= "" + +BBLAYERS ?= " \ + ${TOPDIR}/../layers/poky/meta \ + ${TOPDIR}/../layers/poky/meta-poky \ + ${TOPDIR}/../layers/poky/meta-yocto-bsp \ + ${TOPDIR}/../layers/meta-openembedded/meta-filesystems \ + ${TOPDIR}/../layers/meta-openembedded/meta-oe \ + ${TOPDIR}/../layers/meta-openembedded/meta-networking \ + ${TOPDIR}/../layers/meta-openembedded/meta-python \ + ${TOPDIR}/../layers/meta-virtualization \ + ${TOPDIR}/../layers/meta-raspberrypi \ + ${TOPDIR}/../layers/meta-blackfinn \ + " + diff --git a/buildconf/qemuarm/conf-notes.txt b/buildconf/qemuarm/conf-notes.txt new file mode 100644 index 0000000..c24917c --- /dev/null +++ b/buildconf/qemuarm/conf-notes.txt @@ -0,0 +1,11 @@ +Common targets are: + console-image + console-dev-image + docker-image + tiny-image + core-image-minimal + core-image-sato + meta-toolchain + adt-installer + meta-ide-support + diff --git a/buildconf/qemuarm/local.conf.sample b/buildconf/qemuarm/local.conf.sample new file mode 100644 index 0000000..9666b22 --- /dev/null +++ b/buildconf/qemuarm/local.conf.sample @@ -0,0 +1,50 @@ +MACHINE ?= "qemuarm" + +#DL_DIR ?= "${TOPDIR}/../../downloads" +#SSTATE_DIR ?= "${TOPDIR}/../../sstate-cache" +#TMPDIR = "${TOPDIR}/tmp" + +DISTRO ?= "roro" +PACKAGE_CLASSES ?= "package_ipk" + +#SDKMACHINE ?= "i686" + +#EXTRA_IMAGE_FEATURES ?= "debug-tweaks" + +USER_CLASSES ?= "buildstats image-mklibs image-prelink" + +IMAGE_BOOT_FILES_append = " uEnv.txt" + +SERIAL_CONSOLES = "115200;ttyS0" + +PATCHRESOLVE = "noop" + +BB_DISKMON_DIRS = "\ + STOPTASKS,${TMPDIR},1G,100K \ + STOPTASKS,${DL_DIR},1G,100K \ + STOPTASKS,${SSTATE_DIR},1G,100K \ + STOPTASKS,/tmp,100M,100K \ + ABORT,${TMPDIR},100M,1K \ + ABORT,${DL_DIR},100M,1K \ + ABORT,${SSTATE_DIR},100M,1K \ + ABORT,/tmp,10M,1K" + +#SSTATE_MIRRORS ?= "\ +#file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \ +#file://.* file:///some/local/dir/sstate/PATH" + +CONF_VERSION = "1" + +INHERIT += "rm_work" + +INHERIT += "own-mirrors" +SOURCE_MIRROR_URL = "https://files.blackfinn.de/mirror/sources" +BB_GENERATE_MIRROR_TARBALLS = "1" + +export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR" + +ICECC_PARALLEL_MAKE = "-j 24" +INHERIT += "icecc" + +ICECC_USER_PACKAGE_BL = "pkgconfig-native" +