File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
vmm/scripts/kernel/cloud_hypervisor Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 11HYPERVISOR ?= cloud_hypervisor
22GUESTOS_IMAGE ?= centos
33WASM_RUNTIME ?= wasmedge
4- KERNEL_VERSION ?= 6.2
4+ KERNEL_VERSION ?= 6.12.8
55ARCH ?= x86_64
66# DEST_DIR is used when built with RPM format
77DEST_DIR ?= /
Original file line number Diff line number Diff line change 1414# limitations under the License.
1515
1616set -e
17+ set -x
1718
18- readonly version=${1:- 6.1.6 }
19+ readonly version=${1:- 6.12.8 }
1920readonly base_dir=" $( dirname $( readlink -f $0 ) ) "
2021
2122sudo apt-get update
@@ -25,12 +26,9 @@ sudo apt-get install -y libelf-dev elfutils
2526rm -rf /tmp/linux-cloud-hypervisor
2627git clone --depth 1 https://github.com/cloud-hypervisor/linux.git -b ch-${version} /tmp/linux-cloud-hypervisor
2728pushd /tmp/linux-cloud-hypervisor
28- wget --no-check-certificate https://raw.githubusercontent.com/cloud-hypervisor/cloud-hypervisor/main/resources/linux-config-x86_64
29- # TODO support arm
30- # wget https://raw.githubusercontent.com/cloud-hypervisor/cloud-hypervisor/main/resources/linux-config-aarch64
31- cp linux-config-x86_64 .config # x86-64
32- # TODO support arm
33- # cp linux-config-aarch64 .config # AArch64
29+ make ch_defconfig
30+
31+ # Do native build of the x86-64 kernel
3432KCFLAGS=" -Wa,-mx86-used-note=no" make bzImage -j ` nproc`
3533# TODO support arm
3634# make -j `nproc`
You can’t perform that action at this time.
0 commit comments