Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# ===========================================================================
2# Post-link MIPS pass
3# ===========================================================================
4#
5# 1. Insert relocations into vmlinux
6
7PHONY := __archpost
8__archpost:
9
10-include include/config/auto.conf
11include 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)