projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e6a32a
)
selftests/seccomp: Force rebuild according to dependencies
author
Mickaël Salaün
<mic@digikod.net>
Fri, 26 May 2017 18:43:58 +0000
(20:43 +0200)
committer
Shuah Khan
<shuahkh@osg.samsung.com>
Wed, 7 Jun 2017 16:07:22 +0000
(10:07 -0600)
Rebuild the seccomp tests when kselftest_harness.h is updated.
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Will Drewry <wad@chromium.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/seccomp/Makefile
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/seccomp/Makefile
b/tools/testing/selftests/seccomp/Makefile
index 5fa6fd2246b18a45290efef20789a4948d9425d9..aeb0c805f3ca0f9471ae0f211e5633aa9d7a52f8 100644
(file)
--- a/
tools/testing/selftests/seccomp/Makefile
+++ b/
tools/testing/selftests/seccomp/Makefile
@@
-4,3
+4,5
@@
LDFLAGS += -lpthread
include ../lib.mk
+$(TEST_GEN_PROGS): seccomp_bpf.c ../kselftest_harness.h
+ $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@