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

Commit 7c71ac4f authored by Aaron Kling's avatar Aaron Kling Committed by Jan Altensen
Browse files

envsetup: Set INLINE_KERNEL_BUILDING based on TARGET_PREBUILT_KERNEL

This needs to check for both prebuilt boot image, aka no kernel; and
prebuilt kernel.

Change-Id: I48188cc2a4411d036b37c067bae209cc8a1f295b
parent cbb07697
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -547,7 +547,8 @@ function _lunch_meat()
    export TARGET_BUILD_TYPE=release

    local no_kernel=$(_get_build_var_cached TARGET_NO_KERNEL)
    if [[ "$no_kernel" == "true" ]]; then
    local prebuilt_kernel=$(_get_build_var_cached TARGET_PREBUILT_KERNEL)
    if [[ "$no_kernel" == "true" ]] || [ -n "$prebuilt_kernel" ]; then
        unset INLINE_KERNEL_BUILDING
    else
        export INLINE_KERNEL_BUILDING=true