Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 4e5717d8 authored by Michael Bestas's avatar Michael Bestas
Browse files

envsetup: Build OOT kernel during lunch if needed

Change-Id: Ie61ebb571dc758d1331d4fdec1f1456fd5bc5b32
parent ae602b8f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -473,6 +473,9 @@ function _lunch_meat()
    local prebuilt_kernel=$(_get_build_var_cached TARGET_PREBUILT_KERNEL)
    if [[ "$no_kernel" == "true" ]] || [ -n "$prebuilt_kernel" ]; then
        unset INLINE_KERNEL_BUILDING
        if [ -n "$(_get_build_var_cached TARGET_KERNEL_PLATFORM_SOURCE)" ]; then
            build_kernel
        fi
    else
        export INLINE_KERNEL_BUILDING=true
    fi