0001
0002
0003
0004
0005
0006
0007
0008
0009 PHONY := __archpost
0010 __archpost:
0011
0012 -include include/config/auto.conf
0013 include scripts/Kbuild.include
0014
0015 CMD_LS3_LLSC = arch/mips/tools/loongson3-llsc-check
0016 quiet_cmd_ls3_llsc = LLSCCHK $@
0017 cmd_ls3_llsc = $(CMD_LS3_LLSC) $@
0018
0019 CMD_RELOCS = arch/mips/boot/tools/relocs
0020 quiet_cmd_relocs = RELOCS $@
0021 cmd_relocs = $(CMD_RELOCS) $@
0022
0023
0024
0025 vmlinux: FORCE
0026 @true
0027 ifeq ($(CONFIG_CPU_LOONGSON3_WORKAROUNDS),y)
0028 $(call if_changed,ls3_llsc)
0029 endif
0030 ifeq ($(CONFIG_RELOCATABLE),y)
0031 $(call if_changed,relocs)
0032 endif
0033
0034 %.ko: FORCE
0035 @true
0036
0037 clean:
0038 @true
0039
0040 PHONY += FORCE clean
0041
0042 FORCE:
0043
0044 .PHONY: $(PHONY)