summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2011-06-21 12:26:54 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-06-21 13:54:59 +0200
commit6d78fe87dc9d34e76cd73dd86ade539ad33f2a66 (patch)
treebbbcb2d8ba9145d28c4112306025fe3679bd720b /Makefile
parentc6abd61fa863feeae14e4fa1323d949941a72aad (diff)
downloadbarebox-6d78fe87dc9d34e76cd73dd86ade539ad33f2a66.tar.gz
barebox-6d78fe87dc9d34e76cd73dd86ade539ad33f2a66.tar.xz
Makefile: remove -Map option from global LDFLAGS
... and re-add it to LDFLAGS_barebox. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1647ce94b4..8b3db44066 100644
--- a/Makefile
+++ b/Makefile
@@ -298,7 +298,7 @@ CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common -Os -pipe
AFLAGS := -D__ASSEMBLY__
-LDFLAGS := -Map barebox.map
+LDFLAGS_barebox := -Map barebox.map
# Read KERNELRELEASE from include/config/kernel.release (if it exists)
KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)