mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
nuttx:generate nuttx.map file when enable debug link map.
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
This commit is contained in:
@@ -267,6 +267,12 @@ else
|
||||
LDFLAGS += -Wl,-Ttext-segment=0x400000
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_DEBUG_LINK_MAP),y)
|
||||
ifeq ($(CONFIG_HOST_MACOS),)
|
||||
LDFLAGS += -Wl,-Map=$(TOPDIR)/nuttx.map
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_SIM_M32),y)
|
||||
LDLINKFLAGS += -melf_i386
|
||||
LDFLAGS += -m32
|
||||
|
||||
Reference in New Issue
Block a user