aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/pid_namespace/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/pid_namespace/Makefile')
-rw-r--r--tools/testing/selftests/pid_namespace/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/testing/selftests/pid_namespace/Makefile b/tools/testing/selftests/pid_namespace/Makefile
index dcaefa224ca0..edafaca1aeb3 100644
--- a/tools/testing/selftests/pid_namespace/Makefile
+++ b/tools/testing/selftests/pid_namespace/Makefile
@@ -1,8 +1,8 @@
# SPDX-License-Identifier: GPL-2.0
CFLAGS += -g -I../../../../usr/include/
-TEST_GEN_PROGS := regression_enomem
+TEST_GEN_PROGS = regression_enomem
-include ../lib.mk
+LOCAL_HDRS += $(selfdir)/pidfd/pidfd.h
-$(OUTPUT)/regression_enomem: regression_enomem.c ../pidfd/pidfd.h
+include ../lib.mk