1*0d976313SThiago Jung Bauermanntargets += trampoline.o purgatory.ro kexec-purgatory.c 2*0d976313SThiago Jung Bauermann 3*0d976313SThiago Jung BauermannLDFLAGS_purgatory.ro := -e purgatory_start -r --no-undefined 4*0d976313SThiago Jung Bauermann 5*0d976313SThiago Jung Bauermann$(obj)/purgatory.ro: $(obj)/trampoline.o FORCE 6*0d976313SThiago Jung Bauermann $(call if_changed,ld) 7*0d976313SThiago Jung Bauermann 8*0d976313SThiago Jung BauermannCMD_BIN2C = $(objtree)/scripts/basic/bin2c 9*0d976313SThiago Jung Bauermannquiet_cmd_bin2c = BIN2C $@ 10*0d976313SThiago Jung Bauermann cmd_bin2c = $(CMD_BIN2C) kexec_purgatory < $< > $@ 11*0d976313SThiago Jung Bauermann 12*0d976313SThiago Jung Bauermann$(obj)/kexec-purgatory.c: $(obj)/purgatory.ro FORCE 13*0d976313SThiago Jung Bauermann $(call if_changed,bin2c) 14*0d976313SThiago Jung Bauermann 15*0d976313SThiago Jung Bauermannobj-y += kexec-purgatory.o 16