1# SPDX-License-Identifier: GPL-2.0+ 2 3TEST_GEN_PROGS := rfi_flush entry_flush uaccess_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$(OUTPUT)/rfi_flush: flush_utils.c 15$(OUTPUT)/entry_flush: flush_utils.c 16$(OUTPUT)/uaccess_flush: flush_utils.c 17