xref: /linux/tools/testing/selftests/powerpc/dexcr/Makefile (revision 5bfa66bf86d792bbcc76bc09cf99a2ae9d6e0eec)
1*5bfa66bfSBenjamin GrayTEST_GEN_PROGS := dexcr_test hashchk_test
2a16e472cSBenjamin GrayTEST_GEN_FILES := lsdexcr
3bdb07f35SBenjamin Gray
4bdb07f35SBenjamin Grayinclude ../../lib.mk
5108e5e68SMadhavan Srinivasaninclude ../flags.mk
6bdb07f35SBenjamin Gray
7*5bfa66bfSBenjamin GrayCFLAGS += $(KHDR_INCLUDES)
8*5bfa66bfSBenjamin Gray
9d7228a58SBenjamin Gray$(OUTPUT)/hashchk_test: CFLAGS += -fno-pie -no-pie $(call cc-option,-mno-rop-protect)
10bdb07f35SBenjamin Gray
11bdb07f35SBenjamin Gray$(TEST_GEN_PROGS): ../harness.c ../utils.c ./dexcr.c
12a16e472cSBenjamin Gray$(TEST_GEN_FILES): ../utils.c ./dexcr.c
13