summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/capabilities/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/capabilities/Makefile')
-rw-r--r--tools/testing/selftests/capabilities/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/testing/selftests/capabilities/Makefile b/tools/testing/selftests/capabilities/Makefile
new file mode 100644
index 0000000000..6e9d98d457
--- /dev/null
+++ b/tools/testing/selftests/capabilities/Makefile
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0
+TEST_GEN_FILES := validate_cap
+TEST_GEN_PROGS := test_execve
+
+CFLAGS += -O2 -g -std=gnu99 -Wall
+LDLIBS += -lcap-ng -lrt -ldl
+
+include ../lib.mk
+