diff options
Diffstat (limited to 'meta-agl-flutter/recipes-config/agl-flutter-env/agl-flutter-env_1.0.bb')
-rw-r--r-- | meta-agl-flutter/recipes-config/agl-flutter-env/agl-flutter-env_1.0.bb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-agl-flutter/recipes-config/agl-flutter-env/agl-flutter-env_1.0.bb b/meta-agl-flutter/recipes-config/agl-flutter-env/agl-flutter-env_1.0.bb new file mode 100644 index 000000000..80f7fb3f1 --- /dev/null +++ b/meta-agl-flutter/recipes-config/agl-flutter-env/agl-flutter-env_1.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "AGL Flutter environment file" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +inherit allarch + +AGL_FLUTTER_DEFAULT_RUNTIME ?= "release" + +do_compile[noexec] = "1" + +do_install() { + install -d ${D}${sysconfdir}/default + echo "FLUTTER_VERSION=${FLUTTER_SDK_TAG}" > ${D}${sysconfdir}/default/flutter + echo "FLUTTER_RUNTIME=${AGL_FLUTTER_DEFAULT_RUNTIME}" >> ${D}${sysconfdir}/default/flutter + echo "LIBCAMERA_LOG_LEVELS=*:ERROR" >> ${D}${sysconfdir}/default/flutter +} |