]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - arch/powerpc/purgatory/Makefile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / arch / powerpc / purgatory / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
0d976313
TJB
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
9CMD_BIN2C = $(objtree)/scripts/basic/bin2c
10quiet_cmd_bin2c = BIN2C $@
11 cmd_bin2c = $(CMD_BIN2C) kexec_purgatory < $< > $@
12
13$(obj)/kexec-purgatory.c: $(obj)/purgatory.ro FORCE
14 $(call if_changed,bin2c)
15
16obj-y += kexec-purgatory.o