envsetup: Set INLINE_KERNEL_BUILDING based on TARGET_NO_KERNEL

Change-Id: I2404adf572bdafb91edc66a19a83a2696004b33f
This commit is contained in:
Michael Bestas 2021-05-06 16:44:13 +03:00 committed by Bartłomiej Rudecki
parent 1c390cd216
commit 8aab9617db
Signed by: przekichane
GPG key ID: 751F23C6F014EF76

View file

@ -522,6 +522,13 @@ function _lunch_meat()
# Note this is the string "release", not the value of the variable. # Note this is the string "release", not the value of the variable.
export TARGET_BUILD_TYPE=release export TARGET_BUILD_TYPE=release
local no_kernel=$(_get_build_var_cached TARGET_NO_KERNEL)
if [[ "$no_kernel" == "true" ]]; then
unset INLINE_KERNEL_BUILDING
else
export INLINE_KERNEL_BUILDING=true
fi
[[ -n "${ANDROID_QUIET_BUILD:-}" ]] || echo [[ -n "${ANDROID_QUIET_BUILD:-}" ]] || echo
fixup_common_out_dir fixup_common_out_dir