9
0
Fork 0

let linker create a link map

Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Juergen Beisert 2009-12-04 17:50:48 +01:00 committed by Sascha Hauer
parent f5caf0c5b2
commit 118386d83f
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -31,6 +31,7 @@ uboot
uboot.S
uboot.bin
uboot.netx
uboot.map
System.map
Module.symvers
ARCH

View File

@ -298,6 +298,8 @@ CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common -Os -pipe
AFLAGS := -D__ASSEMBLY__
LDFLAGS := -Map uboot.map
# Read KERNELRELEASE from include/config/kernel.release (if it exists)
KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
KERNELVERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)