mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
scripts: Replace download_linux with prepare_linux
`prepare_linux` is capable of determining whether we need to invoke `build_custom_linux` for building linux from source or `download_linux` for downloading pre-built. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
This commit is contained in:
@@ -56,8 +56,8 @@ popd || exit
|
||||
# Build custom kernel based on virtio-pmem and virtio-fs upstream patches
|
||||
VMLINUX_IMAGE="$WORKLOADS_DIR/vmlinux"
|
||||
if [ ! -f "$VMLINUX_IMAGE" ]; then
|
||||
# Download prebuild linux binaries
|
||||
download_linux
|
||||
# Prepare linux image (build from source or download pre-built)
|
||||
prepare_linux
|
||||
fi
|
||||
|
||||
CFLAGS=""
|
||||
|
||||
Reference in New Issue
Block a user