summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2009-12-04 17:50:48 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-12-09 02:33:17 +0100
commitaa680883a80b833a9d4ea03b676b73fb2b2a5e95 (patch)
treeeb846907e3b1dbab42156e14cd6408cc3194523e /Makefile
parent98354f34474bef3b7466166ce89319d34410a82e (diff)
downloadbarebox-aa680883a80b833a9d4ea03b676b73fb2b2a5e95.tar.gz
barebox-aa680883a80b833a9d4ea03b676b73fb2b2a5e95.tar.xz
let linker create a link map
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b70f877e19..74bee53615 100644
--- a/Makefile
+++ b/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)