From 7819fc880138c4c89a098e872cb671ae25f42a1a Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Thu, 23 Jan 2020 22:14:28 +0100 Subject: 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 --- templates/feature/agl-sota/50_bblayers.conf.inc | 1 - templates/feature/agl-sota/50_setup.sh | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 templates/feature/agl-sota/50_setup.sh (limited to 'templates') 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 <> ${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 <> ${BUILDDIR}/conf/bblayers.conf + +# +# } +# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + +EOF -- cgit 1.2.3-korg