[PATCH] ppc32: Kill embedded system.map, use kallsyms
[linux-3.10.git] / arch / ppc / boot / openfirmware / Makefile
index 4eacbd8c772a7fb67833770ea4ab87884b952da5..03415238fabf67791bd084775aacf22997ff9370 100644 (file)
@@ -54,13 +54,10 @@ $(images)/ramdisk.image.gz:
        @echo '          RAM disk image must be provided separately'
        @/bin/false
 
        @echo '          RAM disk image must be provided separately'
        @/bin/false
 
-objcpxmon-$(CONFIG_XMON) := --add-section=.sysmap=System.map \
-       --set-section-flags=.sysmap=contents,alloc,load,readonly,data
 quiet_cmd_genimage = GEN     $@
       cmd_genimage = $(OBJCOPY) -R .comment       \
        --add-section=.image=$(images)/vmlinux.gz \
 quiet_cmd_genimage = GEN     $@
       cmd_genimage = $(OBJCOPY) -R .comment       \
        --add-section=.image=$(images)/vmlinux.gz \
-       --set-section-flags=.image=contents,alloc,load,readonly,data \
-       $(objcpxmon-y) $< $@
+       --set-section-flags=.image=contents,alloc,load,readonly,data $< $@
 
 targets += image.o
 $(obj)/image.o: $(obj)/dummy.o $(images)/vmlinux.gz FORCE
 
 targets += image.o
 $(obj)/image.o: $(obj)/dummy.o $(images)/vmlinux.gz FORCE