1# SPDX-License-Identifier: GPL-2.0 2targets += trampoline.o purgatory.ro kexec-purgatory.c 3 4LDFLAGS_purgatory.ro := -e purgatory_start -r --no-undefined 5 6$(obj)/purgatory.ro: $(obj)/trampoline.o FORCE 7 $(call if_changed,ld) 8 9quiet_cmd_bin2c = BIN2C $@ 10 cmd_bin2c = $(objtree)/scripts/bin2c kexec_purgatory < $< > $@ 11 12$(obj)/kexec-purgatory.c: $(obj)/purgatory.ro FORCE 13 $(call if_changed,bin2c) 14 15obj-y += kexec-purgatory.o 16