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