aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-09-28 14:33:33 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-09-29 12:22:34 +0200
commit0616620805370f334eb8ccf7fc6e03e822d8deab (patch)
tree73d4818a653225cf8422509a8f37c22c9b96207c
parent1ae95f33cc8f276ee1f4db019d9077a606283763 (diff)
downloadpasst-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--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index deee529..1aa7b6f 100644
--- a/Makefile
+++ b/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)