boards/imxrt1060-evk: Generate nuttx.map in the root directory

to avoid the follow warning:
  Normalize imxrt1060-evk/nshocram
HEAD detached at pull/831/merge
Untracked files:
  (use "git add <file>..." to include in what will be committed)

	arch/arm/src/nuttx.map

nothing added to commit but untracked files present (use "git add" to track)

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2020-04-20 10:04:05 +08:00 committed by patacongo
parent 2810220ea9
commit f706f5e0e8
1 changed files with 6 additions and 1 deletions

View File

@ -115,7 +115,12 @@ LIBEXT = .a
EXEEXT =
ifneq ($(CROSSDEV),arm-nuttx-elf-)
LDFLAGS += -nostartfiles -nodefaultlibs -Map nuttx.map
LDFLAGS += -nostartfiles -nodefaultlibs
ifeq ($(WINTOOL),y)
LDFLAGS += -Map="${shell cygpath -w $(TOPDIR)/nuttx.map}"
else
LDFLAGS += -Map=$(TOPDIR)/nuttx.map
endif
endif
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
LDFLAGS += -g