From 064e1a65a5ce848434e9ceef500d03f7bde65249 Mon Sep 17 00:00:00 2001 From: David Drysdale Date: Thu, 10 Mar 2016 14:24:26 +0000 Subject: sysgen: Cope with non-inline kernel build When regenerating system call tables, cope with a local kernel tree where the kernel has been built into a separate directory (with `make O=...`) rather than inline. So: - LINUX makefile var / -linux command line option give location of source tree - LINUXBLD makefile var / -linuxbld command line option gives location of built kernel --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6f1637eab..7c6be65e7 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ SYSCALL_FILES=sys/sys.txt sys/socket.txt sys/tty.txt sys/perf.txt \ sys/kvm.txt sys/sndseq.txt sys/sndtimer.txt sys/sndcontrol.txt sys/input.txt \ sys/netlink.txt sys/tun.txt sys/random.txt generate: bin/syz-sysgen $(SYSCALL_FILES) - bin/syz-sysgen -linux=$(LINUX) $(SYSCALL_FILES) + bin/syz-sysgen -linux=$(LINUX) -linuxbld=$(LINUXBLD) $(SYSCALL_FILES) bin/syz-sysgen: sysgen/*.go go build -o $@ sysgen/*.go -- cgit mrf-deployment