10d976313SThiago Jung Bauermanntargets += trampoline.o purgatory.ro kexec-purgatory.c 20d976313SThiago Jung Bauermann 30d976313SThiago Jung BauermannLDFLAGS_purgatory.ro := -e purgatory_start -r --no-undefined 40d976313SThiago Jung Bauermann 50d976313SThiago Jung Bauermann$(obj)/purgatory.ro: $(obj)/trampoline.o FORCE 60d976313SThiago Jung Bauermann $(call if_changed,ld) 70d976313SThiago Jung Bauermann 80d976313SThiago Jung BauermannCMD_BIN2C = $(objtree)/scripts/basic/bin2c 90d976313SThiago Jung Bauermannquiet_cmd_bin2c = BIN2C $@ 100d976313SThiago Jung Bauermann cmd_bin2c = $(CMD_BIN2C) kexec_purgatory < $< > $@ 110d976313SThiago Jung Bauermann 120d976313SThiago Jung Bauermann$(obj)/kexec-purgatory.c: $(obj)/purgatory.ro FORCE 130d976313SThiago Jung Bauermann $(call if_changed,bin2c) 140d976313SThiago Jung Bauermann 150d976313SThiago Jung Bauermannobj-y += kexec-purgatory.o 16