summaryrefslogtreecommitdiff
path: root/yocto/meta-mikrophone/conf
diff options
context:
space:
mode:
Diffstat (limited to 'yocto/meta-mikrophone/conf')
-rw-r--r--yocto/meta-mikrophone/conf/distro/mikrophone.conf20
-rw-r--r--yocto/meta-mikrophone/conf/layer.conf13
-rw-r--r--yocto/meta-mikrophone/conf/machine/._verdin-imx8mp-mikrophone.confbin0 -> 4096 bytes
-rw-r--r--yocto/meta-mikrophone/conf/machine/include/verdin-imx8mp.inc14
4 files changed, 47 insertions, 0 deletions
diff --git a/yocto/meta-mikrophone/conf/distro/mikrophone.conf b/yocto/meta-mikrophone/conf/distro/mikrophone.conf
new file mode 100644
index 0000000..efeba6e
--- /dev/null
+++ b/yocto/meta-mikrophone/conf/distro/mikrophone.conf
@@ -0,0 +1,20 @@
+# Toradex Distro for Wayland with XWayland.
+# Using the downstream kernel flavour.
+
+require conf/distro/include/tdx-base.inc
+
+DISTRO = "mikrophone"
+DISTRO_NAME = "mikroPhone distribution"
+DISTRO_FLAVOUR = ""
+
+IMX_DEFAULT_BSP = "nxp"
+
+# we use graphics, so set opengl
+DISTRO_FEATURES:append = " opengl"
+
+DISTRO_FEATURES:append = " wayland x11"
+
+# lxqt requires this
+DISTRO_FEATURES:append = " polkit"
+TASK_BASIC_SSHDAEMON = "openssh-sshd openssh-sftp openssh-sftp-server"
+IMAGE_FEATURES:append = " ssh-server-openssh"
diff --git a/yocto/meta-mikrophone/conf/layer.conf b/yocto/meta-mikrophone/conf/layer.conf
new file mode 100644
index 0000000..8abd100
--- /dev/null
+++ b/yocto/meta-mikrophone/conf/layer.conf
@@ -0,0 +1,13 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+ ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "meta-mikrophone"
+BBFILE_PATTERN_meta-mikrophone = "^${LAYERDIR}/"
+BBFILE_PRIORITY_meta-mikrophone = "6"
+
+LAYERDEPENDS_meta-mikrophone = "core"
+LAYERSERIES_COMPAT_meta-mikrophone = "scarthgap"
diff --git a/yocto/meta-mikrophone/conf/machine/._verdin-imx8mp-mikrophone.conf b/yocto/meta-mikrophone/conf/machine/._verdin-imx8mp-mikrophone.conf
new file mode 100644
index 0000000..fe7655c
--- /dev/null
+++ b/yocto/meta-mikrophone/conf/machine/._verdin-imx8mp-mikrophone.conf
Binary files differ
diff --git a/yocto/meta-mikrophone/conf/machine/include/verdin-imx8mp.inc b/yocto/meta-mikrophone/conf/machine/include/verdin-imx8mp.inc
new file mode 100644
index 0000000..b64f4f1
--- /dev/null
+++ b/yocto/meta-mikrophone/conf/machine/include/verdin-imx8mp.inc
@@ -0,0 +1,14 @@
+# needed in recent builds for wifi and bt
+MACHINE_FIRMWARE:append = " firmware-nxp-wifi-nxp8997-sdio"
+
+# our device tree
+KERNEL_DEVICETREE:append = " \
+ ${KERNEL_DTB_PREFIX}imx8mp-verdin-wifi-mikrophone.dtb \
+ ${KERNEL_DTB_PREFIX}imx8mp-verdin-nonwifi-mikrophone.dtb \
+"
+# DTB for u-boot only
+UBOOT_DTB_NAME = "imx8mp-verdin-wifi-mikrophone.dtb"
+
+# for SDK only
+TOOLCHAIN_TARGET_TASK:append = " kernel-devsrc"
+TOOLCHAIN_TARGET_TASK:remove = "target-sdk-provides-dummy"