1d2bf7932SNaveen N. Rao# SPDX-License-Identifier: GPL-2.0+ 2d2bf7932SNaveen N. Rao 389a83a0cSDaniel AxtensTEST_GEN_PROGS := rfi_flush entry_flush spectre_v2 4a0aebae0SJoel Stanleytop_srcdir = ../../../../.. 5d2bf7932SNaveen N. Rao 6d2bf7932SNaveen N. RaoCFLAGS += -I../../../../../usr/include 7d2bf7932SNaveen N. Rao 8d2bf7932SNaveen N. Raoinclude ../../lib.mk 9d2bf7932SNaveen N. Rao 10d2bf7932SNaveen N. Rao$(TEST_GEN_PROGS): ../harness.c ../utils.c 11bf9c95e2SMichael Ellerman 12bf9c95e2SMichael Ellerman$(OUTPUT)/spectre_v2: CFLAGS += -m64 13c790c3d2SMichael Ellerman$(OUTPUT)/spectre_v2: ../pmu/event.c branch_loops.S 140d239f3bSDaniel Axtens$(OUTPUT)/rfi_flush: flush_utils.c 150d239f3bSDaniel Axtens$(OUTPUT)/entry_flush: flush_utils.c 16