summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/dexcr/Makefile
blob: 58cf9f7229051f381cd021f1bef6acfb046cb8fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
TEST_GEN_PROGS := dexcr_test hashchk_test
TEST_GEN_FILES := lsdexcr chdexcr

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
$(TEST_GEN_FILES): ../utils.c ./dexcr.c