Merge "Deprecate prebuilts/misc/linux-x86/lz4/lz4"

This commit is contained in:
Treehugger Robot
2021-11-11 20:51:25 +00:00
committed by Gerrit Code Review
2 changed files with 12 additions and 1 deletions

View File

@@ -18,6 +18,8 @@ source development/gsi/build_with_kernel/repack_kernels_common.sh
set -e set -e
prepare_lz4
prepare_kernel_image \ prepare_kernel_image \
"artifacts/common-android13-5_10-kernel_aarch64" \ "artifacts/common-android13-5_10-kernel_aarch64" \
"5.10" \ "5.10" \

View File

@@ -29,8 +29,17 @@ if [[ -z "${DIST_DIR}" ]]; then
fi fi
GZIP="gzip" GZIP="gzip"
LZ4="${WD}/prebuilts/misc/linux-x86/lz4/lz4" LZ4="${OUT_DIR}/host/linux-x86/bin/lz4"
function prepare_lz4()
{
if ! [ -f ${LZ4} ]; then
echo "make $LZ4"
cd ${WD}
make lz4
cd -
fi
}
function prepare_kernel_image() function prepare_kernel_image()
{ {