mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 07:00:48 +00:00
2fb857bc9f
Exclude various incompatible compilation units from KCSAN instrumentation. Signed-off-by: Rohan McLure <rmclure@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20230206021801.105268-2-rmclure@linux.ibm.com
16 lines
339 B
Makefile
16 lines
339 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
KASAN_SANITIZE := n
|
|
KCSAN_SANITIZE := n
|
|
|
|
targets += trampoline_$(BITS).o purgatory.ro
|
|
|
|
LDFLAGS_purgatory.ro := -e purgatory_start -r --no-undefined
|
|
|
|
$(obj)/purgatory.ro: $(obj)/trampoline_$(BITS).o FORCE
|
|
$(call if_changed,ld)
|
|
|
|
$(obj)/kexec-purgatory.o: $(obj)/purgatory.ro
|
|
|
|
obj-y += kexec-purgatory.o
|