*conf.sample: Add config templates for Yocto BSP
authorFlorian Boor <florian@kernelconcepts.de>
Thu, 2 Aug 2018 09:35:59 +0000 (11:35 +0200)
committerFlorian Boor <florian@kernelconcepts.de>
Thu, 2 Aug 2018 09:35:59 +0000 (11:35 +0200)
conf/bblayers.conf.sample [new file with mode: 0644]
conf/local.conf.sample [new file with mode: 0644]

diff --git a/conf/bblayers.conf.sample b/conf/bblayers.conf.sample
new file mode 100644 (file)
index 0000000..1c41a5f
--- /dev/null
@@ -0,0 +1,24 @@
+POKY_BBLAYERS_CONF_VERSION = "2"
+
+BBPATH = "${TOPDIR}"
+BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
+
+BBFILES ?= ""
+BBLAYERS = " \
+  ${BSPDIR}/yocto/poky/meta \
+  ${BSPDIR}/yocto/poky/meta-poky \
+  \
+  ${BSPDIR}/yocto/meta-openembedded/meta-oe \
+  ${BSPDIR}/yocto/meta-openembedded/meta-multimedia \
+  ${BSPDIR}/yocto/meta-openembedded/meta-filesystems \
+  ${BSPDIR}/yocto/meta-openembedded/meta-python \
+  ${BSPDIR}/yocto/meta-openembedded/meta-networking \
+  \
+  ${BSPDIR}/yocto/meta-nodejs \
+  ${BSPDIR}/yocto/meta-qt5 \
+  ${BSPDIR}/yocto/meta-browser \
+  ${BSPDIR}/yocto/meta-webstuff \
+  \
+  ${BSPDIR}/yocto/meta-kc-bsp \
+  ${BSPDIR}/yocto/meta-tx09 \
+"
diff --git a/conf/local.conf.sample b/conf/local.conf.sample
new file mode 100644 (file)
index 0000000..c4fe305
--- /dev/null
@@ -0,0 +1,57 @@
+# Global preferences
+MACHINE ?= "topasa900"
+DISTRO ?= "poky"
+# kernel too old for systemd!
+DISTRO_FEATURES_remove = "wayland systemd"
+DISTRO_FEATURES_remove = "opengl"
+PACKAGE_CLASSES ?= "package_ipk"
+EXTRA_IMAGE_FEATURES ?= "debug-tweaks splash package-management"
+IMAGE_FSTYPES = "tar.gz ubi"
+USER_CLASSES ?= "buildstats image-mklibs"
+PATCHRESOLVE = "noop"
+CONF_VERSION = "1"
+
+# Directories
+DL_DIR ?= "${BSPDIR}/downloads"
+SSTATE_DIR ?= "${BSPDIR}/sstate-cache"
+
+# Package configuration and preferences
+BB_DANGLINGAPPENDS_WARNONLY = "1"
+
+PACKAGECONFIG_append_pn-qemu-native = " sdl"
+PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
+PACKAGECONFIG_append_pn-qtdeclarative = " qtxmlpatterns"
+PACKAGECONFIG_append_pn-qtbase = "accessibility qml-debug"
+
+# We use our own splash tool
+SPLASH = "psplash-mucross"
+PREFERRED_PROVIDER_virtual/psplash = "psplash-mucross"
+
+# Mirror settings
+PREMIRRORS_prepend = "\
+     http://.*/.* file://${BSPDIR}/local-src \n \
+     https://.*/.* file://${BSPDIR}/local-src \n \
+     "
+
+# Source code archive
+#INHERIT += "archiver"
+ARCHIVER_MODE[src] = "original"
+ARCHIVER_MODE[diff] = "1"
+ARCHIVER_MODE[recipe] = "1"
+COPY_LIC_MANIFEST = "1"
+COPY_LIC_DIRS = "1"
+COPYLEFT_RECIPE_TYPE = "target"
+LICENSE_CREATE_PACKAGE = "1"
+
+# Local disk and housekeeping
+INHERIT += "rm_work"
+
+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"