2018-05-21 15:13:57 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
|
2021-02-25 06:19:49 +00:00
|
|
|
TEST_GEN_PROGS := rfi_flush entry_flush uaccess_flush spectre_v2
|
2021-05-07 06:42:25 +00:00
|
|
|
TEST_PROGS := mitigation-patching.sh
|
|
|
|
|
2018-10-22 12:09:26 +00:00
|
|
|
top_srcdir = ../../../../..
|
2018-05-21 15:13:57 +00:00
|
|
|
|
|
|
|
CFLAGS += -I../../../../../usr/include
|
|
|
|
|
|
|
|
include ../../lib.mk
|
|
|
|
|
|
|
|
$(TEST_GEN_PROGS): ../harness.c ../utils.c
|
2019-11-20 02:37:23 +00:00
|
|
|
|
|
|
|
$(OUTPUT)/spectre_v2: CFLAGS += -m64
|
2019-05-20 10:55:20 +00:00
|
|
|
$(OUTPUT)/spectre_v2: ../pmu/event.c branch_loops.S
|
2020-11-17 05:59:15 +00:00
|
|
|
$(OUTPUT)/rfi_flush: flush_utils.c
|
|
|
|
$(OUTPUT)/entry_flush: flush_utils.c
|
2021-02-25 06:19:49 +00:00
|
|
|
$(OUTPUT)/uaccess_flush: flush_utils.c
|