Makefile (788177e76589e6441d43691f1a075feec2e25962) Makefile (d8357e3bf8f7aabd98bf4dc2709ee877b741cefc)
1# SPDX-License-Identifier: GPL-2.0
2OBJECT_FILES_NON_STANDARD := y
3
4purgatory-y := purgatory.o sha256.o entry.o string.o ctype.o memcpy.o memset.o
5
6targets += $(purgatory-y)
7PURGATORY_OBJS = $(addprefix $(obj)/,$(purgatory-y))
8

--- 70 unchanged lines hidden (view full) ---

79AFLAGS_REMOVE_memset.o += -Wa,-gdwarf-2
80
81$(obj)/purgatory.ro: $(PURGATORY_OBJS) FORCE
82 $(call if_changed,ld)
83
84$(obj)/purgatory.chk: $(obj)/purgatory.ro FORCE
85 $(call if_changed,ld)
86
1# SPDX-License-Identifier: GPL-2.0
2OBJECT_FILES_NON_STANDARD := y
3
4purgatory-y := purgatory.o sha256.o entry.o string.o ctype.o memcpy.o memset.o
5
6targets += $(purgatory-y)
7PURGATORY_OBJS = $(addprefix $(obj)/,$(purgatory-y))
8

--- 70 unchanged lines hidden (view full) ---

79AFLAGS_REMOVE_memset.o += -Wa,-gdwarf-2
80
81$(obj)/purgatory.ro: $(PURGATORY_OBJS) FORCE
82 $(call if_changed,ld)
83
84$(obj)/purgatory.chk: $(obj)/purgatory.ro FORCE
85 $(call if_changed,ld)
86
87targets += kexec-purgatory.c
87$(obj)/kexec-purgatory.o: $(obj)/purgatory.ro $(obj)/purgatory.chk
88
88
89quiet_cmd_bin2c = BIN2C $@
90 cmd_bin2c = $(objtree)/scripts/bin2c kexec_purgatory < $< > $@
91
92$(obj)/kexec-purgatory.c: $(obj)/purgatory.ro $(obj)/purgatory.chk FORCE
93 $(call if_changed,bin2c)
94
95obj-y += kexec-purgatory.o
89obj-y += kexec-purgatory.o