diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-09-28 14:33:33 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-09-29 12:22:34 +0200 |
commit | 0616620805370f334eb8ccf7fc6e03e822d8deab (patch) | |
tree | 73d4818a653225cf8422509a8f37c22c9b96207c | |
parent | 1ae95f33cc8f276ee1f4db019d9077a606283763 (diff) | |
download | passt-0616620805370f334eb8ccf7fc6e03e822d8deab.tar passt-0616620805370f334eb8ccf7fc6e03e822d8deab.tar.gz passt-0616620805370f334eb8ccf7fc6e03e822d8deab.tar.bz2 passt-0616620805370f334eb8ccf7fc6e03e822d8deab.tar.lz passt-0616620805370f334eb8ccf7fc6e03e822d8deab.tar.xz passt-0616620805370f334eb8ccf7fc6e03e822d8deab.tar.zst passt-0616620805370f334eb8ccf7fc6e03e822d8deab.zip |
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>
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |