162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0+ 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciTEST_GEN_PROGS := rfi_flush entry_flush uaccess_flush spectre_v2 462306a36Sopenharmony_ciTEST_PROGS := mitigation-patching.sh 562306a36Sopenharmony_ci 662306a36Sopenharmony_citop_srcdir = ../../../../.. 762306a36Sopenharmony_ci 862306a36Sopenharmony_ciCFLAGS += $(KHDR_INCLUDES) 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ciinclude ../../lib.mk 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci$(TEST_GEN_PROGS): ../harness.c ../utils.c 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci$(OUTPUT)/spectre_v2: CFLAGS += -m64 1562306a36Sopenharmony_ci$(OUTPUT)/spectre_v2: ../pmu/event.c branch_loops.S 1662306a36Sopenharmony_ci$(OUTPUT)/rfi_flush: flush_utils.c 1762306a36Sopenharmony_ci$(OUTPUT)/entry_flush: flush_utils.c 1862306a36Sopenharmony_ci$(OUTPUT)/uaccess_flush: flush_utils.c 19