1# =========================================================================== 2# Post-link powerpc pass 3# =========================================================================== 4# 5# 1. Check that vmlinux relocations look sane 6 7PHONY := __archpost 8__archpost: 9 10-include include/config/auto.conf 11include scripts/Kbuild.include 12 13quiet_cmd_relocs_check = CHKREL $@ 14 cmd_relocs_check = $(CONFIG_SHELL) $(srctree)/arch/powerpc/tools/relocs_check.sh "$(OBJDUMP)" "$@" 15 16# `@true` prevents complaint when there is nothing to be done 17 18vmlinux: FORCE 19 @true 20ifdef CONFIG_RELOCATABLE 21 $(call if_changed,relocs_check) 22endif 23 24%.ko: FORCE 25 @true 26 27clean: 28 @true 29 30PHONY += FORCE clean 31 32FORCE: 33 34.PHONY: $(PHONY) 35