aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/dexcr/Makefile
diff options
context:
space:
mode:
authorBenjamin Gray <bgray@linux.ibm.com>2024-04-17 21:23:21 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2024-05-06 22:05:17 +1000
commit5bfa66bf86d792bbcc76bc09cf99a2ae9d6e0eec (patch)
tree19625af4de79f92dfc8e64f1b53807cd257fc083 /tools/testing/selftests/powerpc/dexcr/Makefile
parentpowerpc/dexcr: Add DEXCR prctl interface (diff)
downloadlinux-5bfa66bf86d792bbcc76bc09cf99a2ae9d6e0eec.tar.gz
linux-5bfa66bf86d792bbcc76bc09cf99a2ae9d6e0eec.zip
selftests/powerpc/dexcr: Add DEXCR prctl interface test
Some basic tests of the prctl interface of the DEXCR. Signed-off-by: Benjamin Gray <bgray@linux.ibm.com> [mpe: Add missing SPDX tag] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20240417112325.728010-6-bgray@linux.ibm.com
Diffstat (limited to 'tools/testing/selftests/powerpc/dexcr/Makefile')
-rw-r--r--tools/testing/selftests/powerpc/dexcr/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/dexcr/Makefile b/tools/testing/selftests/powerpc/dexcr/Makefile
index 1b775959f981..3b685b28f029 100644
--- a/tools/testing/selftests/powerpc/dexcr/Makefile
+++ b/tools/testing/selftests/powerpc/dexcr/Makefile
@@ -1,9 +1,11 @@
-TEST_GEN_PROGS := hashchk_test
+TEST_GEN_PROGS := dexcr_test hashchk_test
TEST_GEN_FILES := lsdexcr
include ../../lib.mk
include ../flags.mk
+CFLAGS += $(KHDR_INCLUDES)
+
$(OUTPUT)/hashchk_test: CFLAGS += -fno-pie -no-pie $(call cc-option,-mno-rop-protect)
$(TEST_GEN_PROGS): ../harness.c ../utils.c ./dexcr.c