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:
parent
f5caf0c5b2
commit
118386d83f
|
@ -31,6 +31,7 @@ uboot
|
|||
uboot.S
|
||||
uboot.bin
|
||||
uboot.netx
|
||||
uboot.map
|
||||
System.map
|
||||
Module.symvers
|
||||
ARCH
|
||||
|
|
2
Makefile
2
Makefile
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue