xref: /linux/tools/testing/selftests/powerpc/security/Makefile (revision 95298d63c67673c654c08952672d016212b26054)
1# SPDX-License-Identifier: GPL-2.0+
2
3TEST_GEN_PROGS := rfi_flush spectre_v2
4top_srcdir = ../../../../..
5
6CFLAGS += -I../../../../../usr/include
7
8include ../../lib.mk
9
10$(TEST_GEN_PROGS): ../harness.c ../utils.c
11
12$(OUTPUT)/spectre_v2: CFLAGS += -m64
13$(OUTPUT)/spectre_v2: ../pmu/event.c branch_loops.S
14