blob: 4b7f5a648c7986355a81d641fa39b3895d0197b5 [file] [log] [blame]
Matt Redfearn44079d32016-11-10 10:02:13 +00001# ===========================================================================
2# Post-link MIPS pass
3# ===========================================================================
4#
5# 1. Insert relocations into vmlinux
6
7PHONY := __archpost
8__archpost:
9
Matt Redfearn6e5b95c2017-01-30 09:58:34 +000010-include include/config/auto.conf
Matt Redfearn44079d32016-11-10 10:02:13 +000011include scripts/Kbuild.include
12
13CMD_RELOCS = arch/mips/boot/tools/relocs
14quiet_cmd_relocs = RELOCS $@
15 cmd_relocs = $(CMD_RELOCS) $@
16
17# `@true` prevents complaint when there is nothing to be done
18
19vmlinux: FORCE
20 @true
21ifeq ($(CONFIG_RELOCATABLE),y)
22 $(call if_changed,relocs)
23endif
24
25%.ko: FORCE
26 @true
27
28clean:
29 @true
30
31PHONY += FORCE clean
32
33FORCE:
34
35.PHONY: $(PHONY)