velociraptor/velociraptor-makefile-add-bpf-rules-to-linux_bare.patch

25 lines
541 B
Diff
Raw Normal View History

From: Jeff Mahoney <jeffm@suse.com>
Subject: Makefile: add bpf rules to linux_bare
The standalone client needs to have the vql implementation for bpf too
Acked-by: Jeff Mahoney <jeffm@suse.com>
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/Makefile
+++ b/Makefile
@@ -84,8 +84,8 @@ endif
linux: $(BPF_MODULES)
$(GOFLAGS) go run make.go -v linux
-linux_bare:
- go run make.go -v linuxBare
+linux_bare: $(BPF_MODULES)
+ $(GOFLAGS) go run make.go -v linuxBare
freebsd:
go run make.go -v freebsd