1# SPDX-License-Identifier: GPL-2.0
2
3KASAN_SANITIZE := n
4KCSAN_SANITIZE := n
5
6targets += trampoline_$(BITS).o purgatory.ro
7
8LDFLAGS_purgatory.ro := -e purgatory_start -r --no-undefined
9
10$(obj)/purgatory.ro: $(obj)/trampoline_$(BITS).o FORCE
11		$(call if_changed,ld)
12
13$(obj)/kexec-purgatory.o: $(obj)/purgatory.ro
14
15obj-y	+= kexec-purgatory.o
16