mirror of
https://passt.top/passt
synced 2024-12-22 05:35:23 +00:00
Regenerate seccomp.h if seccomp.sh changes
seccomp.sh generates seccomp.h, so if we change it, we should re-build seccomp.h as well. Add this to the make dependencies so it happens. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
1ae95f33cc
commit
0616620805
4
Makefile
4
Makefile
@ -102,8 +102,8 @@ all: $(BIN) $(MANPAGES) docs
|
||||
static: FLAGS += -static -DGLIBC_NO_STATIC_NSS
|
||||
static: clean all
|
||||
|
||||
seccomp.h: $(PASST_SRCS) $(PASST_HEADERS)
|
||||
@ EXTRA_SYSCALLS=$(EXTRA_SYSCALLS) ./seccomp.sh $^
|
||||
seccomp.h: seccomp.sh $(PASST_SRCS) $(PASST_HEADERS)
|
||||
@ EXTRA_SYSCALLS=$(EXTRA_SYSCALLS) ./seccomp.sh $(PASST_SRCS) $(PASST_HEADERS)
|
||||
|
||||
passt: $(PASST_SRCS) $(HEADERS)
|
||||
$(CC) $(FLAGS) $(CFLAGS) $(PASST_SRCS) -o passt $(LDFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user