Merge "Deprecate prebuilts/misc/linux-x86/lz4/lz4" am: 5a60ab7012

Original change: https://android-review.googlesource.com/c/platform/development/+/1883429

Change-Id: Idda4604f0abd05372708ec02cae46b0fbb8031ba
This commit is contained in:
Treehugger Robot
2021-11-11 21:12:55 +00:00
committed by Automerger Merge Worker
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
prepare_lz4
prepare_kernel_image \
"artifacts/common-android13-5_10-kernel_aarch64" \
"5.10" \

View File

@@ -29,8 +29,17 @@ if [[ -z "${DIST_DIR}" ]]; then
fi
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()
{