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>
This commit is contained in:
parent
c6abd61fa8
commit
6d78fe87dc
2
Makefile
2
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)
|
||||
|
|
Loading…
Reference in New Issue