aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2020-01-23 22:14:28 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-02-12 14:18:57 +0000
commit7819fc880138c4c89a098e872cb671ae25f42a1a (patch)
treedd14205ab390d6fb113cde2d8a50513d35e8d546 /templates
parent320389c04761c95cd53b63916572aa55fd80867d (diff)
Fix SOTA build for build other than qemu
- The meta-updater-qemux86-64 must be add only for qemu build. Change-Id: Iebdeddd869b2fca88467acd6983826b4f7e49de1 Bug-AGL: SPEC-3097 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'templates')
-rw-r--r--templates/feature/agl-sota/50_bblayers.conf.inc1
-rw-r--r--templates/feature/agl-sota/50_setup.sh24
2 files changed, 24 insertions, 1 deletions
diff --git a/templates/feature/agl-sota/50_bblayers.conf.inc b/templates/feature/agl-sota/50_bblayers.conf.inc
index 67c41d230..48655fdcb 100644
--- a/templates/feature/agl-sota/50_bblayers.conf.inc
+++ b/templates/feature/agl-sota/50_bblayers.conf.inc
@@ -1,6 +1,5 @@
BBLAYERS =+ " \
${METADIR}/external/meta-updater \
- ${METADIR}/external/meta-updater-qemux86-64 \
${METADIR}/external/meta-openembedded/meta-filesystems \
${METADIR}/external/meta-openembedded/meta-python \
"
diff --git a/templates/feature/agl-sota/50_setup.sh b/templates/feature/agl-sota/50_setup.sh
new file mode 100644
index 000000000..c5aeb532d
--- /dev/null
+++ b/templates/feature/agl-sota/50_setup.sh
@@ -0,0 +1,24 @@
+
+cat <<EOF >> ${BUILDDIR}/conf/bblayers.conf
+
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+# fragment {
+# ${METADIR}/meta-agl/templates/feature/agl-sota/50_setup.sh
+#
+EOF
+
+case ${MACHINE} in
+ "qemux86-64")
+ echo "BBLAYERS =+ \"\${METADIR}/external/meta-updater-qemux86-64\"" >> ${BUILDDIR}/conf/bblayers.conf;;
+ *)
+ echo "#No extra SOTA feature layer for MACHINE ${MACHINE}" >> ${BUILDDIR}/conf/bblayers.conf;;
+esac
+
+
+cat <<EOF >> ${BUILDDIR}/conf/bblayers.conf
+
+#
+# }
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+
+EOF