xref: /linux/tools/testing/selftests/powerpc/security/Makefile (revision 15a1fbdcfb519c2bd291ed01c6c94e0b89537a77)
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