envsetup: Set INLINE_KERNEL_BUILDING if TARGET_PREBUILT_KERNEL is set
Change-Id: I2404adf572bdafb91edc66a19a83a2696004b33f Signed-off-by: RITEFANG <1721985272@qq.com>
This commit is contained in:
@@ -529,6 +529,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 prebuilt_kernel=$(get_build_var TARGET_PREBUILT_KERNEL)
|
||||||
|
if [ -z "$prebuilt_kernel" ]; then
|
||||||
|
export INLINE_KERNEL_BUILDING=true
|
||||||
|
else
|
||||||
|
unset INLINE_KERNEL_BUILDING
|
||||||
|
fi
|
||||||
|
|
||||||
[[ -n "${ANDROID_QUIET_BUILD:-}" ]] || echo
|
[[ -n "${ANDROID_QUIET_BUILD:-}" ]] || echo
|
||||||
|
|
||||||
set_stuff_for_environment
|
set_stuff_for_environment
|
||||||
|
Reference in New Issue
Block a user