summaryrefslogtreecommitdiffstats
path: root/templates/feature/agl-flutter
diff options
context:
space:
mode:
Diffstat (limited to 'templates/feature/agl-flutter')
-rw-r--r--templates/feature/agl-flutter/50_bblayers.conf.inc10
-rw-r--r--templates/feature/agl-flutter/50_local.conf.inc5
-rw-r--r--templates/feature/agl-flutter/included.dep1
3 files changed, 16 insertions, 0 deletions
diff --git a/templates/feature/agl-flutter/50_bblayers.conf.inc b/templates/feature/agl-flutter/50_bblayers.conf.inc
new file mode 100644
index 000000000..10647b7a5
--- /dev/null
+++ b/templates/feature/agl-flutter/50_bblayers.conf.inc
@@ -0,0 +1,10 @@
+AGL_META_CLANG = " ${METADIR}/external/meta-clang "
+# Required for libcamera
+AGL_META_MULTIMEDIA = "${METADIR}/external/meta-openembedded/meta-multimedia"
+AGL_META_PYTHON = "${METADIR}/external/meta-openembedded/meta-python"
+
+BBLAYERS =+ " \
+ ${METADIR}/meta-agl/meta-agl-flutter \
+ ${METADIR}/external/meta-flutter \
+ ${METADIR}/external/meta-flutter/meta-flutter-apps \
+"
diff --git a/templates/feature/agl-flutter/50_local.conf.inc b/templates/feature/agl-flutter/50_local.conf.inc
new file mode 100644
index 000000000..6ca86b0c9
--- /dev/null
+++ b/templates/feature/agl-flutter/50_local.conf.inc
@@ -0,0 +1,5 @@
+# Include Flutter SDK in SDK
+TOOLCHAIN_HOST_TASK:append = " nativesdk-flutter-sdk"
+
+# Include agl-specific defaults
+require conf/include/agl-flutter.inc
diff --git a/templates/feature/agl-flutter/included.dep b/templates/feature/agl-flutter/included.dep
new file mode 100644
index 000000000..4f4e49ec1
--- /dev/null
+++ b/templates/feature/agl-flutter/included.dep
@@ -0,0 +1 @@
+agl-pipewire agl-app-framework