2021-05-27 00:09:36 +05:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
|
2021-07-13 00:01:19 +05:00
|
|
|
TEST_GEN_PROGS := rfi_flush entry_flush uaccess_flush spectre_v2
|
2021-07-22 21:18:54 +05:00
|
|
|
TEST_PROGS := mitigation-patching.sh
|
|
|
|
|
2021-05-27 00:09:36 +05:00
|
|
|
top_srcdir = ../../../../..
|
|
|
|
|
|
|
|
CFLAGS += -I../../../../../usr/include
|
|
|
|
|
|
|
|
include ../../lib.mk
|
|
|
|
|
|
|
|
$(TEST_GEN_PROGS): ../harness.c ../utils.c
|
|
|
|
|
|
|
|
$(OUTPUT)/spectre_v2: CFLAGS += -m64
|
|
|
|
$(OUTPUT)/spectre_v2: ../pmu/event.c branch_loops.S
|
|
|
|
$(OUTPUT)/rfi_flush: flush_utils.c
|
|
|
|
$(OUTPUT)/entry_flush: flush_utils.c
|
2021-07-13 00:01:19 +05:00
|
|
|
$(OUTPUT)/uaccess_flush: flush_utils.c
|