From c3916a021568b4ac1f7e0fd29124d21becc983e5 Mon Sep 17 00:00:00 2001 From: Mara Mihali Date: Mon, 17 May 2021 15:16:06 +0000 Subject: docs/linux: fixed deprecated command --- docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md b/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md index 7a147dbf5..abc114a0f 100644 --- a/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md +++ b/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md @@ -6,7 +6,7 @@ In the instructions below, the `$VAR` notation (e.g. `$GCC`, `$KERNEL`, etc.) is ## GCC -While you may use GCC that is available from your distro, it's preferable to get the lastest GCC from [this](/docs/syzbot.md#crash-does-not-reproduce) list. Download and unpack into `$GCC`, and you should have GCC binaries in `$GCC/bin/` +If your distro's GCC is older, it's preferable to get the lastest GCC from [this](/docs/syzbot.md#crash-does-not-reproduce) list. Download and unpack into `$GCC`, and you should have GCC binaries in `$GCC/bin/` ``` bash $ ls $GCC/bin/ @@ -29,9 +29,11 @@ Generate default configs: ``` bash cd $KERNEL make CC="$GCC/bin/gcc" defconfig -make CC="$GCC/bin/gcc" kvmconfig +make CC="$GCC/bin/gcc" kvm_guest.config ``` +Note: If you are using your distro's GCC, you don't need to set `CC` in the `make` command. + Enable kernel config options required for syzkaller as described [here](kernel_configs.md). It's not required to enable all of them, but at the very least you need: -- cgit mrf-deployment