linuxdebug/tools/testing/selftests/powerpc/security/Makefile

19 lines
463 B
Makefile
Raw Permalink Normal View History

2024-07-16 15:50:57 +02:00
# SPDX-License-Identifier: GPL-2.0+
TEST_GEN_PROGS := rfi_flush entry_flush uaccess_flush spectre_v2
TEST_PROGS := mitigation-patching.sh
top_srcdir = ../../../../..
CFLAGS += $(KHDR_INCLUDES)
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
$(OUTPUT)/uaccess_flush: flush_utils.c