]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/powerpc/Makefile.postlink
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[karo-tx-linux.git] / arch / powerpc / Makefile.postlink
1 # ===========================================================================
2 # Post-link powerpc pass
3 # ===========================================================================
4 #
5 # 1. Check that vmlinux relocations look sane
6
7 PHONY := __archpost
8 __archpost:
9
10 include include/config/auto.conf
11 include scripts/Kbuild.include
12
13 quiet_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
18 vmlinux: FORCE
19         @true
20 ifdef CONFIG_RELOCATABLE
21         $(call if_changed,relocs_check)
22 endif
23
24 %.ko: FORCE
25         @true
26
27 clean:
28         @true
29
30 PHONY += FORCE clean
31
32 FORCE:
33
34 .PHONY: $(PHONY)