1 # SPDX-License-Identifier: GPL-2.0
2 # ===========================================================================
4 # ===========================================================================
6 # 1. Insert relocations into vmlinux
11 -include include/config/auto.conf
12 include scripts/Kbuild.include
14 CMD_RELOCS = arch/mips/boot/tools/relocs
15 quiet_cmd_relocs = RELOCS $@
16 cmd_relocs = $(CMD_RELOCS) $@
18 # `@true` prevents complaint when there is nothing to be done
22 ifeq ($(CONFIG_RELOCATABLE),y)
23 $(call if_changed,relocs)