sparc: drop kallsyms bits
PATCH 5/10 sparc: drop kallsyms bits
The variable kallsyms.o are not exported so boot/Makefile never sees it. So drop it to avoid being fooled to think it actually works.
In Makefile a second pass over kallsyms was forced but this was not justified and is not needed - drop it.
We can add back a working solution if kallsyms support is needed in the btfixed up kernel.
For now it is better to just drop the stuff as it do not do as originally intended.
Signed-off-by Sam Ravnborg <[email protected]>
--- arch/sparc/Makefile | 4 ---- arch/sparc/boot/Makefile | 2 +- 2 files changed, 1 insertions(+), 5 deletions(-)
arch/sparc/Makefile +0 -4
@@ -40,10 +40,6 @@ VMLINUX_MAIN := $(core-y) kernel/ mm/ fs/ ipc/ security/ crypto/ block/ VMLINUX_MAIN += $(patsubst %/, %/lib.a, $(libs-y)) $(libs-y) VMLINUX_MAIN += $(drivers-y) $(net-y) -ifdef CONFIG_KALLSYMS -kallsyms.o := .tmp_kallsyms2.o -endif - # Default target all: zImage
arch/sparc/boot/Makefile +1 -1
@@ -41,7 +41,7 @@ BTOBJS := $(patsubst %/, %/built-in.o, $(VMLINUX_INIT)) BTLIBS := $(patsubst %/, %/built-in.o, $(VMLINUX_MAIN)) LDFLAGS_image := -T arch/sparc/kernel/vmlinux.lds $(BTOBJS) \ --start-group $(BTLIBS) --end-group \ - $(kallsyms.o) $(obj)/btfix.o + $(obj)/btfix.o # Link the final image including btfixup'ed symbols. # This is a replacement for the link done in the top-level Makefile.
Signature · 1 line
1.5.6.GIT