Makefile (cd92ac253063981c96abfc3fdb326e430bd89ea6) Makefile (c23587c92f6e3260fe3b82bb75b38aa2553b9468)
1# SPDX-License-Identifier: GPL-2.0
2
3OBJECT_FILES_NON_STANDARD := y
4
5purgatory-y := head.o purgatory.o string.o sha256.o mem.o
6
7targets += $(purgatory-y) purgatory.lds purgatory purgatory.chk purgatory.ro
8PURGATORY_OBJS = $(addprefix $(obj)/,$(purgatory-y))
9
10$(obj)/sha256.o: $(srctree)/lib/crypto/sha256.c FORCE
11 $(call if_changed_rule,cc_o_c)
12
13CFLAGS_sha256.o := -D__DISABLE_EXPORTS
14
15$(obj)/mem.o: $(srctree)/arch/s390/lib/mem.S FORCE
16 $(call if_changed_rule,as_o_S)
17
1# SPDX-License-Identifier: GPL-2.0
2
3OBJECT_FILES_NON_STANDARD := y
4
5purgatory-y := head.o purgatory.o string.o sha256.o mem.o
6
7targets += $(purgatory-y) purgatory.lds purgatory purgatory.chk purgatory.ro
8PURGATORY_OBJS = $(addprefix $(obj)/,$(purgatory-y))
9
10$(obj)/sha256.o: $(srctree)/lib/crypto/sha256.c FORCE
11 $(call if_changed_rule,cc_o_c)
12
13CFLAGS_sha256.o := -D__DISABLE_EXPORTS
14
15$(obj)/mem.o: $(srctree)/arch/s390/lib/mem.S FORCE
16 $(call if_changed_rule,as_o_S)
17
18$(obj)/string.o: $(srctree)/arch/s390/lib/string.c FORCE
19 $(call if_changed_rule,cc_o_c)
18KCOV_INSTRUMENT := n
19GCOV_PROFILE := n
20UBSAN_SANITIZE := n
21KASAN_SANITIZE := n
20
21KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes
22KBUILD_CFLAGS += -Wno-pointer-sign -Wno-sign-compare
23KBUILD_CFLAGS += -fno-zero-initialized-in-bss -fno-builtin -ffreestanding
24KBUILD_CFLAGS += -c -MD -Os -m64 -msoft-float -fno-common
25KBUILD_CFLAGS += $(CLANG_FLAGS)
26KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
27KBUILD_AFLAGS := $(filter-out -DCC_USING_EXPOLINE,$(KBUILD_AFLAGS))

--- 23 unchanged lines hidden ---
22
23KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes
24KBUILD_CFLAGS += -Wno-pointer-sign -Wno-sign-compare
25KBUILD_CFLAGS += -fno-zero-initialized-in-bss -fno-builtin -ffreestanding
26KBUILD_CFLAGS += -c -MD -Os -m64 -msoft-float -fno-common
27KBUILD_CFLAGS += $(CLANG_FLAGS)
28KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
29KBUILD_AFLAGS := $(filter-out -DCC_USING_EXPOLINE,$(KBUILD_AFLAGS))

--- 23 unchanged lines hidden ---