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
1 changed files with 2 additions and 2 deletions
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 a new issue