envsetup: Set INLINE_KERNEL_BUILDING based on TARGET_NO_KERNEL
Change-Id: I2404adf572bdafb91edc66a19a83a2696004b33f
This commit is contained in:
parent
1c390cd216
commit
8aab9617db
1 changed files with 7 additions and 0 deletions
|
@ -522,6 +522,13 @@ function _lunch_meat()
|
|||
# Note this is the string "release", not the value of the variable.
|
||||
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
|
||||
|
||||
fixup_common_out_dir
|
||||
|
|
Loading…
Reference in a new issue