Makefile (d538d94f0ca86cfedc892cc427169219acb3c2f7) Makefile (172caf1993b7a6503a9f7faf589e2cf26eb1f219)
1# SPDX-License-Identifier: GPL-2.0
2#
3# linux/arch/arm/boot/compressed/Makefile
4#
5# create a compressed vmlinuz image from the original vmlinux
6#
7
8OBJS =

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

165# ensuring that no private .bss symbols exist, as global symbols
166# always have a GOT entry which is what we need.
167# The .data section is already discarded by the linker script so no need
168# to bother about it here.
169check_for_bad_syms = \
170bad_syms=$$($(CROSS_COMPILE)nm $@ | sed -n 's/^.\{8\} [bc] \(.*\)/\1/p') && \
171[ -z "$$bad_syms" ] || \
172 ( echo "following symbols must have non local/private scope:" >&2; \
1# SPDX-License-Identifier: GPL-2.0
2#
3# linux/arch/arm/boot/compressed/Makefile
4#
5# create a compressed vmlinuz image from the original vmlinux
6#
7
8OBJS =

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

165# ensuring that no private .bss symbols exist, as global symbols
166# always have a GOT entry which is what we need.
167# The .data section is already discarded by the linker script so no need
168# to bother about it here.
169check_for_bad_syms = \
170bad_syms=$$($(CROSS_COMPILE)nm $@ | sed -n 's/^.\{8\} [bc] \(.*\)/\1/p') && \
171[ -z "$$bad_syms" ] || \
172 ( echo "following symbols must have non local/private scope:" >&2; \
173 echo "$$bad_syms" >&2; rm -f $@; false )
173 echo "$$bad_syms" >&2; false )
174
175check_for_multiple_zreladdr = \
176if [ $(words $(ZRELADDR)) -gt 1 -a "$(CONFIG_AUTO_ZRELADDR)" = "" ]; then \
177 echo 'multiple zreladdrs: $(ZRELADDR)'; \
178 echo 'This needs CONFIG_AUTO_ZRELADDR to be set'; \
179 false; \
180fi
181

--- 23 unchanged lines hidden ---
174
175check_for_multiple_zreladdr = \
176if [ $(words $(ZRELADDR)) -gt 1 -a "$(CONFIG_AUTO_ZRELADDR)" = "" ]; then \
177 echo 'multiple zreladdrs: $(ZRELADDR)'; \
178 echo 'This needs CONFIG_AUTO_ZRELADDR to be set'; \
179 false; \
180fi
181

--- 23 unchanged lines hidden ---