aboutsummaryrefslogtreecommitdiffstats
path: root/docs/syscall_descriptions.md
diff options
context:
space:
mode:
authorShiyu Sun <sshiyu@google.com>2019-11-21 18:46:22 +1100
committerDmitry Vyukov <dvyukov@google.com>2019-11-22 09:42:11 +0100
commit598ca6c8b8766304c3b2865e38f5f301c39bd299 (patch)
tree9a14e679942dcbcdc09991b8928465873291e215 /docs/syscall_descriptions.md
parent0199dc9d8c15c7abbffdb9644cbebd2acb6f8a67 (diff)
docs:update syscall_descriptions.md
Add detailed instructions to run syz-extract
Diffstat (limited to 'docs/syscall_descriptions.md')
-rw-r--r--docs/syscall_descriptions.md8
1 files changed, 5 insertions, 3 deletions
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.