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