fix docs for wg handshake extraction

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
Steffen Vogel
2022-08-21 16:48:26 +02:00
parent 95eaf78acf
commit ab8f48cc0a
2 changed files with 8 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ all: wice
wice:
go generate ./...
go build -o $@ -ldflags="$(LDFLAGS)" ./cmd
go build -o $@ -ldflags="$(LDFLAGS)" .
tests:
ginkgo run $(GINKGO_OPTS)

View File

@@ -14,7 +14,13 @@
# kernel memory layout.
#
# Please point the KERNELDIR environment variable to a directory containing the
# **full** kernel sources (headers are not sufficient).
# **full** kernel sources (headers are not sufficient) while running "go generate":
#
# $ export KERNELDIR=/usr/src/linux-5.15
# $ git clone github.com/stv0g/wice
# $ cd wice
# $ go generate -tags tracer
# $ go build -tags tracer .
#
set -e