blob: 26900ddaef82bddf5dd7668248829d77172aadc9 [file] [log] [blame]
Joe Lawrencea2818ee2019-01-09 13:43:29 +01001# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for livepatch test code.
4
5obj-$(CONFIG_TEST_LIVEPATCH) += test_klp_atomic_replace.o \
6 test_klp_callbacks_demo.o \
7 test_klp_callbacks_demo2.o \
8 test_klp_callbacks_busy.o \
9 test_klp_callbacks_mod.o \
10 test_klp_livepatch.o \
11 test_klp_shadow_vars.o
12
13# Target modules to be livepatched require CC_FLAGS_FTRACE
14CFLAGS_test_klp_callbacks_busy.o += $(CC_FLAGS_FTRACE)
15CFLAGS_test_klp_callbacks_mod.o += $(CC_FLAGS_FTRACE)