[LinuxBIOS] [v3][PATCH] make .map files
Stefan Reinauer
stepan at coresystems.de
Thu Jul 19 17:15:47 CEST 2007
* Marc Jones <marc.jones at amd.com> [070719 16:59]:
> This didn't turn out to be as enlightening as I hoped. I think that I put
> it into the correct Makefile.
Yeah.
Please wait with checking this in. I made a similar patch which adds a
little more stuff (adding nm to .xcompile, adding dependencies, ...)
Will send it around tonight.
> --
> Marc Jones
> Senior Software Engineer
> (970) 226-9684 Office
> mailto:Marc.Jones at amd.com
> http://www.amd.com/embeddedprocessors
> Make .map files for the different portions of V3.
>
> Signed-off-by: Marc Jones <marc.jones at amd.com>
>
>
> Index: LinuxBIOSv3/arch/x86/Makefile
> ===================================================================
> --- LinuxBIOSv3.orig/arch/x86/Makefile 2007-07-18 16:32:18.000000000 -0600
> +++ LinuxBIOSv3/arch/x86/Makefile 2007-07-18 16:58:01.000000000 -0600
> @@ -86,6 +86,10 @@
> $(Q)# Run "qemu -L build/ -serial stdio -hda /dev/zero".
> $(Q)printf " CP $(subst $(shell pwd)/,,$(obj)/bios.bin)\n"
> $(Q)cp $@ $(obj)/bios.bin
> + $(Q)# Make some .map files
> + $(Q)nm -n $(obj)/stage0.o | sort > $(obj)/linuxbios.stage0.map
> + $(Q)nm -n $(obj)/linuxbios.initram.o | sort > $(obj)/linuxbios.initram.map
> + $(Q)nm -n $(obj)/linuxbios.stage2.o | sort > $(obj)/linuxbios.stage2.map
>
> $(obj)/linuxbios.bootblock: $(obj)/linuxbios.vpd $(obj)/stage0.init
> $(Q)printf " BUILD $(subst $(shell pwd)/,,$(@))\n"
> --
> linuxbios mailing list
> linuxbios at linuxbios.org
> http://www.linuxbios.org/mailman/listinfo/linuxbios
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
More information about the coreboot
mailing list