From 598ca6c8b8766304c3b2865e38f5f301c39bd299 Mon Sep 17 00:00:00 2001 From: Shiyu Sun Date: Thu, 21 Nov 2019 18:46:22 +1100 Subject: docs:update syscall_descriptions.md Add detailed instructions to run syz-extract --- docs/syscall_descriptions.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'docs/syscall_descriptions.md') diff --git a/docs/syscall_descriptions.md b/docs/syscall_descriptions.md index fab11cf7b..dd9762823 100644 --- a/docs/syscall_descriptions.md +++ b/docs/syscall_descriptions.md @@ -142,6 +142,8 @@ make `$ARCH` is one of `amd64`, `386` `arm64`, `arm`, `ppc64le`. If the subsystem is supported on several architectures, then run `syz-extract` for each arch. `$LINUX` should point to kernel source checkout, which is configured for the -corresponding arch (i.e. you need to run `make ARCH=arch someconfig && make ARCH=arch` there first). -If the kernel was built into a separate directory (with `make O=...`) then also -set `$LINUXBLD` to the location of the build directory. +corresponding arch (i.e. you need to run `make ARCH=arch someconfig && make ARCH=arch` there first, +remember to add `CROSS_COMPILE=arm-linux-gnueabi-/aarch64-linux-gnu-/powerpc64le-linux-gnu-` if needed). +If the kernel was built into a separate directory (with `make O=output_dir`, remember to put .config +into output_dir, this will be helpful if you'd like to work on different arch at the same time) +then also set `$LINUXBLD` to the location of the build directory. -- cgit mrf-deployment