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 8CFLAGS += -I../../../../../usr/include 9 10include ../../lib.mk 11 12$(TEST_GEN_PROGS): ../harness.c ../utils.c 13 14$(OUTPUT)/spectre_v2: CFLAGS += -m64 15$(OUTPUT)/spectre_v2: ../pmu/event.c branch_loops.S 16$(OUTPUT)/rfi_flush: flush_utils.c 17$(OUTPUT)/entry_flush: flush_utils.c 18$(OUTPUT)/uaccess_flush: flush_utils.c 19