aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-flutter/recipes-config/agl-flutter-env/agl-flutter-env_1.0.bb
blob: aaff166bf9ef6306257a1178193768c9648d00e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
}