aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-02-26 09:33:52 -0500
committerSam Ravnborg <sam@ravnborg.org>2007-05-02 14:58:07 -0400
commit85bd2fddd68e757da8e1af98f857f61a3c9ce647 (patch)
tree2570f9ac0ba8ecd6373fec48e923ead773319369 /Makefile
parentdc87c3985e9b442c60994308a96f887579addc39 (diff)
kbuild: fix section mismatch check for vmlinux
vmlinux does not contain relocation entries which is used by the section mismatch checks. Reported by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Use the individual objects as inputs to overcome this limitation. In modpost check the .o files and skip non-ELF files. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d970cb16545a..5a774cbf6bfa 100644
--- a/Makefile
+++ b/Makefile
@@ -603,6 +603,7 @@ vmlinux-init := $(head-y) $(init-y)
603vmlinux-main := $(core-y) $(libs-y) $(drivers-y) $(net-y) 603vmlinux-main := $(core-y) $(libs-y) $(drivers-y) $(net-y)
604vmlinux-all := $(vmlinux-init) $(vmlinux-main) 604vmlinux-all := $(vmlinux-init) $(vmlinux-main)
605vmlinux-lds := arch/$(ARCH)/kernel/vmlinux.lds 605vmlinux-lds := arch/$(ARCH)/kernel/vmlinux.lds
606export KBUILD_VMLINUX_OBJS := $(vmlinux-all)
606 607
607# Rule to link vmlinux - also used during CONFIG_KALLSYMS 608# Rule to link vmlinux - also used during CONFIG_KALLSYMS
608# May be overridden by arch/$(ARCH)/Makefile 609# May be overridden by arch/$(ARCH)/Makefile