summaryrefslogtreecommitdiff
path: root/arch/powerpc/purgatory/Makefile
blob: 6f5e2727963c4c18b28129d128e60371bb7f1aaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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