Linux Audio

Check our new training course

Loading...
 1# SPDX-License-Identifier: GPL-2.0
 2obj-$(CONFIG_LKDTM)		+= lkdtm.o
 3
 4lkdtm-$(CONFIG_LKDTM)		+= core.o
 5lkdtm-$(CONFIG_LKDTM)		+= bugs.o
 6lkdtm-$(CONFIG_LKDTM)		+= heap.o
 7lkdtm-$(CONFIG_LKDTM)		+= perms.o
 8lkdtm-$(CONFIG_LKDTM)		+= refcount.o
 9lkdtm-$(CONFIG_LKDTM)		+= rodata_objcopy.o
10lkdtm-$(CONFIG_LKDTM)		+= usercopy.o
11lkdtm-$(CONFIG_LKDTM)		+= stackleak.o
12lkdtm-$(CONFIG_LKDTM)		+= cfi.o
13
14KASAN_SANITIZE_stackleak.o	:= n
15KCOV_INSTRUMENT_rodata.o	:= n
16
17OBJCOPYFLAGS :=
18OBJCOPYFLAGS_rodata_objcopy.o	:= \
19			--rename-section .text=.rodata,alloc,readonly,load
20targets += rodata.o rodata_objcopy.o
21$(obj)/rodata_objcopy.o: $(obj)/rodata.o FORCE
22	$(call if_changed,objcopy)