Blame view
arch/mips/Makefile.postlink
963 Bytes
b24413180 License cleanup: ... |
1 |
# SPDX-License-Identifier: GPL-2.0 |
44079d350 MIPS: Use Makefil... |
2 3 4 5 |
# =========================================================================== # Post-link MIPS pass # =========================================================================== # |
e4acfbc18 MIPS: Check Loong... |
6 7 |
# 1. Check that Loongson3 LL/SC workarounds are applied correctly # 2. Insert relocations into vmlinux |
44079d350 MIPS: Use Makefil... |
8 9 10 |
PHONY := __archpost __archpost: |
6e5b95cdb MIPS: Fix distcle... |
11 |
-include include/config/auto.conf |
44079d350 MIPS: Use Makefil... |
12 |
include scripts/Kbuild.include |
e4acfbc18 MIPS: Check Loong... |
13 14 15 |
CMD_LS3_LLSC = arch/mips/tools/loongson3-llsc-check quiet_cmd_ls3_llsc = LLSCCHK $@ cmd_ls3_llsc = $(CMD_LS3_LLSC) $@ |
44079d350 MIPS: Use Makefil... |
16 |
CMD_RELOCS = arch/mips/boot/tools/relocs |
a53998802 MIPS: fix indenta... |
17 |
quiet_cmd_relocs = RELOCS $@ |
44079d350 MIPS: Use Makefil... |
18 19 20 21 22 23 |
cmd_relocs = $(CMD_RELOCS) $@ # `@true` prevents complaint when there is nothing to be done vmlinux: FORCE @true |
e4acfbc18 MIPS: Check Loong... |
24 25 26 |
ifeq ($(CONFIG_CPU_LOONGSON3_WORKAROUNDS),y) $(call if_changed,ls3_llsc) endif |
44079d350 MIPS: Use Makefil... |
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
ifeq ($(CONFIG_RELOCATABLE),y) $(call if_changed,relocs) endif %.ko: FORCE @true clean: @true PHONY += FORCE clean FORCE: .PHONY: $(PHONY) |