aboutsummaryrefslogtreecommitdiffstats
path: root/docs/setup_generic.md
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-09-19 11:00:40 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-09-19 16:44:54 +0200
commit62114d6064c895ae34f1ac232b2fdc94e7329dae (patch)
treee309d2fee71f6222cab66783b1498f325c78d5a3 /docs/setup_generic.md
parent5b89a8780ff6f7e69f82765164cb77da68bb8544 (diff)
Makefile: build target binaries into separate dirs
We currently build binaries for all targets into bin. This makes mess in bin/ and does not allow testing of different archs. Build target binaries into bin/OS_ARCH/ subdirs. Host binaries are still built into bin/. Update #333 Update #324 Update #191
Diffstat (limited to 'docs/setup_generic.md')
-rw-r--r--docs/setup_generic.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/setup_generic.md b/docs/setup_generic.md
index 39b77d761..1655c8a63 100644
--- a/docs/setup_generic.md
+++ b/docs/setup_generic.md
@@ -63,8 +63,8 @@ Unpack Go into a directory, say, `$HOME/go`.
Then, set `GOROOT=$HOME/go` env var.
Then, add Go binaries to `PATH`, `PATH=$HOME/go/bin:$PATH`.
Then, set `GOPATH` env var to some empty dir, say `GOPATH=$HOME/gopath`.
-Then, run `go get -u -d github.com/google/syzkaller/...` to checkout syzkaller sources with all dependencies.
+Then, run `go get -u -d github.com/google/syzkaller/...` to checkout syzkaller sources.
Then, `cd $GOPATH/src/github.com/google/syzkaller` and
build with `make`, which generates compiled binaries in the `bin/` folder.
-
-To build additional syzkaller tools run `make all-tools`.
+Note: if you want to do cross-OS/arch testing, you need to specify `TARGETOS`,
+`TARGETVMARCH` and `TARGETARCH` arguments to `make`. See the [Makefile](../Makefile) for details.