summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2009-12-04 17:50:48 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2009-12-10 12:15:01 +0100
commit118386d83f69cea28f3f7500c7b8c5bc6ee6cfff (patch)
tree7c9e2761f9ff579ef7843a6bff20114421b6e5a4 /Makefile
parentf5caf0c5b2c7b1c4d5b3c3f8c78d57eadc67a3eb (diff)
downloadbarebox-118386d83f69cea28f3f7500c7b8c5bc6ee6cfff.tar.gz
barebox-118386d83f69cea28f3f7500c7b8c5bc6ee6cfff.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)