1# SPDX-License-Identifier: GPL-2.0+ 2 3TEST_GEN_PROGS := rfi_flush entry_flush uaccess_flush spectre_v2 4TEST_PROGS := mitigation-patching.sh 5 6top_srcdir = ../../../../.. 7 8include ../../lib.mk 9include ../flags.mk 10 11CFLAGS += $(KHDR_INCLUDES) 12 13$(TEST_GEN_PROGS): ../harness.c ../utils.c 14 15$(OUTPUT)/spectre_v2: CFLAGS += -m64 16$(OUTPUT)/spectre_v2: ../pmu/event.c branch_loops.S 17$(OUTPUT)/rfi_flush: flush_utils.c 18$(OUTPUT)/entry_flush: flush_utils.c 19$(OUTPUT)/uaccess_flush: flush_utils.c 20