summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2022-05-25 17:12:18 -0500
committerJohn Klug <john.klug@multitech.com>2022-05-25 17:12:18 -0500
commit7971cb0aa3e517a53f0ce6d3ee9bc3179041ccb8 (patch)
tree56e91417e6f937b3956cadcf4973756cebb4a8b0 /conf
downloadmlinux-7971cb0aa3e517a53f0ce6d3ee9bc3179041ccb8.tar.gz
mlinux-7971cb0aa3e517a53f0ce6d3ee9bc3179041ccb8.tar.bz2
mlinux-7971cb0aa3e517a53f0ce6d3ee9bc3179041ccb8.zip
mLinux 6
Diffstat (limited to 'conf')
-rw-r--r--conf/.gitignore2
-rw-r--r--conf/bblayers.conf.mlinux50
-rw-r--r--conf/bblayers.conf.sample22
-rw-r--r--conf/local.conf.sample51
4 files changed, 125 insertions, 0 deletions
diff --git a/conf/.gitignore b/conf/.gitignore
new file mode 100644
index 0000000..143ff36
--- /dev/null
+++ b/conf/.gitignore
@@ -0,0 +1,2 @@
+local.conf
+sanity_info
diff --git a/conf/bblayers.conf.mlinux b/conf/bblayers.conf.mlinux
new file mode 100644
index 0000000..fb68424
--- /dev/null
+++ b/conf/bblayers.conf.mlinux
@@ -0,0 +1,50 @@
+LCONF_VERSION = "6"
+TOPDIR := "${@os.path.dirname(os.path.dirname(d.getVar('FILE', True)))}"
+BBPATH = "__OEROOT__"
+BBFILES ?= ""
+MACHINE ?= "mtcdt"
+
+# MACHINE SPECIFIC LAYER CONFIGURATIONS
+MTBSP_AT91_LIST = "['mtcdt', 'mtcap', 'mtr', 'mtrv1', 'mtre']"
+MTBSP_NXP_LIST = "['mtcap3']"
+
+MTBSP = "${@'mtbsp-at91' if '${MACHINE}' in ${MTBSP_AT91_LIST} else \
+ 'mtbsp-nxp' if '${MACHINE}' in ${MTBSP_NXP_LIST} else ''}"
+
+OVERRIDES .= ":${MTBSP}"
+
+# Atmel AT91
+BSPPATH_mtbsp-at91 = ""
+BSPLAYER_mtbsp-at91= "__OEROOT__/layers/meta-multitech-atmel \
+ __OEROOT__/layers/meta-mlinux-atmel"
+
+BSPPATH_mtbsp-nxp = "__OEROOT__/layers/meta-multitech-nxp/meta-freescale"
+BSPLAYER_mtbsp-nxp= "__OEROOT__/layers/meta-multitech-nxp \
+ __OEROOT__/layers/meta-multitech-nxp/meta-freescale \
+ __OEROOT__/layers/meta-mlinux-nxp \
+ __OEROOT__/layers/meta-security/meta-tpm"
+
+# Append the BSP configuration
+BBPATH =. "${@'${BSPPATH_${MTBSP}}:' if '${BSPPATH_${MTBSP}}' else ''}"
+
+# No virtaulization and swupdate on at91 (mask bbappends and images)
+BBMASK_mtbsp-at91 += "wl18xx-fw tpm2-tss-engine"
+
+BBLAYERS = " \
+ __OEROOT__/layers/user-layer \
+ ${BSPLAYER_${MTBSP}} \
+ __OEROOT__/layers/meta-mlinux \
+ __OEROOT__/layers/meta-multitech \
+ __OEROOT__/layers/meta-mono \
+ __OEROOT__/layers/meta-java \
+ __OEROOT__/layers/meta-python2 \
+ __OEROOT__/layers/meta-swupdate \
+ __OEROOT__/layers/meta-nodejs \
+ __OEROOT__/layers/meta-openembedded/meta-oe \
+ __OEROOT__/layers/meta-openembedded/meta-python \
+ __OEROOT__/layers/meta-openembedded/meta-networking \
+ __OEROOT__/layers/meta-openembedded/meta-webserver \
+ __OEROOT__/layers/meta-openembedded/meta-multimedia \
+ __OEROOT__/layers/meta-openembedded/meta-filesystems \
+ __OEROOT__/layers/openembedded-core/meta \
+ "
diff --git a/conf/bblayers.conf.sample b/conf/bblayers.conf.sample
new file mode 100644
index 0000000..a8e65be
--- /dev/null
+++ b/conf/bblayers.conf.sample
@@ -0,0 +1,22 @@
+LCONF_VERSION = "6"
+TOPDIR := "${@os.path.dirname(os.path.dirname(d.getVar('FILE', True)))}"
+BBPATH = "${TOPDIR}"
+BBFILES ?= ""
+BBLAYERS = " \
+ ${TOPDIR}/layers/user-layer \
+ ${TOPDIR}/layers/meta-mlinux \
+ ${TOPDIR}/layers/meta-mlinux-atmel \
+ ${TOPDIR}/layers/meta-multitech \
+ ${TOPDIR}/layers/meta-multitech-atmel \
+ ${TOPDIR}/layers/meta-mono \
+ ${TOPDIR}/layers/meta-nodejs \
+ ${TOPDIR}/layers/meta-java \
+ ${TOPDIR}/layers/meta-openembedded/meta-oe \
+ ${TOPDIR}/layers/meta-openembedded/meta-perl \
+ ${TOPDIR}/layers/meta-openembedded/meta-networking \
+ ${TOPDIR}/layers/meta-openembedded/meta-webserver \
+ ${TOPDIR}/layers/meta-openembedded/meta-multimedia \
+ ${TOPDIR}/layers/meta-openembedded/meta-filesystems \
+ ${TOPDIR}/layers/meta-openembedded/toolchain-layer \
+ ${TOPDIR}/layers/openembedded-core/meta \
+ "
diff --git a/conf/local.conf.sample b/conf/local.conf.sample
new file mode 100644
index 0000000..f798315
--- /dev/null
+++ b/conf/local.conf.sample
@@ -0,0 +1,51 @@
+# CONF_VERSION is increased each time build/conf/ changes incompatibly
+CONF_VERSION = "2"
+
+# Use MultiTech mLinux distribution
+DISTRO = "mlinux"
+MACHINE ?= "mtcdt"
+
+# Where to store downloaded sources
+DL_DIR = "${TOPDIR}/downloads"
+
+# Where to save shared state
+SSTATE_DIR = "${TOPDIR}/build/sstate-cache"
+# bitbake cache location
+PERSISTENT_DIR = "${TOPDIR}/build/cache"
+# build output
+TMPDIR = "${TOPDIR}/build/tmp"
+
+# Which files do we want to parse:
+BBFILES ?= "${TOPDIR}/layers/openembedded-core/meta/recipes-*/*/*.bb"
+
+# Go through the Firewall
+#HTTP_PROXY = "http://:/"
+
+# Uncomment this to remove unpacked source and intermediate work
+# after successfully building a package.
+# Saves a LOT of disk space, but leaving work around is useful for debugging.
+INHERIT += "rm_work"
+
+# skip parsing of masked files
+BBMASK = ""
+
+# Make use of SMP:
+# PARALLEL_MAKE specifies how many concurrent compiler threads are spawned per bitbake process
+# BB_NUMBER_THREADS specifies how many concurrent bitbake tasks will be run
+BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()*2}"
+PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()*2}"
+
+# Don't generate the mirror tarball for SCM repos, the snapshot is enough
+BB_GENERATE_MIRROR_TARBALLS = "0"
+
+# Disable build time patch resolution. This would lauch a devshell
+# and wait for manual intervention. We disable it.
+PATCHRESOLVE = "noop"
+
+# enable local PR server
+PRSERV_HOST = "localhost:0"
+
+# enable buildhistory for images
+INHERIT += "buildhistory"
+BUILDHISTORY_COMMIT = "0"
+BUILDHISTORY_FEATURES = "image"