[PATCH] Makefile: remove -Map option from global LDFLAGS

Marc Kleine-Budde mkl at pengutronix.de
Tue Jun 21 06:26:54 EDT 2011


... and re-add it to LDFLAGS_barebox.

Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 1647ce9..8b3db44 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)
-- 
1.7.4.1




More information about the barebox mailing list