summaryrefslogtreecommitdiffstats
path: root/meta-offline-voice-agent/conf/layer.conf
diff options
context:
space:
mode:
authoramanarora_09 <aman.arora9848@gmail.com>2022-07-22 15:58:23 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-07-28 13:58:18 +0000
commiteda84d25d819824d641cf89af1e4d61a5e946744 (patch)
tree38f4b7c34a5b91257518bcbcdc6b96d24f0641b2 /meta-offline-voice-agent/conf/layer.conf
parentf206eab5753bd9ee2d5b1126c6ec5a18e75cac89 (diff)
meta-offline-voice-agent: Enable layer for offline voice recognition
- This enables offline voice recognition in AGL - Can successfully run vosk API and vosk websocket server Changes: - Create a new layer: meta-offline-voice-recognition - Create recipes for the the Vosk library, API, websocket server and model - Create feature template for the layer (agl-offline-voice-agent) - Add all required packages to IMAGE_INSTALL - ptest enable recipe python3-vosk-api - Few fixes Bug-AGL: SPEC-4497 Change-Id: Icb290ceee22e2c3a51cbd67f7431701795f1201b Signed-off-by: amanarora_09 <aman.arora9848@gmail.com>
Diffstat (limited to 'meta-offline-voice-agent/conf/layer.conf')
-rw-r--r--meta-offline-voice-agent/conf/layer.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-offline-voice-agent/conf/layer.conf b/meta-offline-voice-agent/conf/layer.conf
new file mode 100644
index 00000000..e5dca632
--- /dev/null
+++ b/meta-offline-voice-agent/conf/layer.conf
@@ -0,0 +1,18 @@
+# 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-offline-voice-agent"
+BBFILE_PATTERN_meta-offline-voice-agent = "^${LAYERDIR}/"
+BBFILE_PRIORITY_meta-offline-voice-agent = "65"
+
+LAYERDEPENDS_meta-offline-voice-agent = "core"
+LAYERSERIES_COMPAT_meta-offline-voice-agent = "dunfell kirkstone"
+
+BBFILES_DYNAMIC += " \
+ agldemo:${LAYERDIR}/dynamic-layers/meta-agl-demo/*/*/*.bb \
+ agldemo:${LAYERDIR}/dynamic-layers/meta-agl-demo/*/*/*.bbappend \
+"