Skip to content

Commit

Permalink
[bugfix]delete redundant 'make'
Browse files Browse the repository at this point in the history
Remove redundant linux kernel build steps. Refer to: [Building your Kernel](https://www.cloudhypervisor.org/docs/prologue/quick-start/#building-your-kernel)

Signed-off-by: MorningTZH <morningtzh@yeah.net>
  • Loading branch information
morningtzh committed Jan 10, 2024
1 parent 84b149d commit 1d84516
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vmm/scripts/kernel/cloud_hypervisor/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ cp linux-config-x86_64 .config # x86-64
# TODO support arm
# cp linux-config-aarch64 .config # AArch64
KCFLAGS="-Wa,-mx86-used-note=no" make bzImage -j `nproc`
make -j `nproc`
# TODO support arm
# make -j `nproc`
popd # pushd /tmp/linux-cloud-hypervisor

cp /tmp/linux-cloud-hypervisor/arch/x86/boot/compressed/vmlinux.bin ${base_dir}/vmlinux.bin

0 comments on commit 1d84516

Please sign in to comment.