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:
parent
2810220ea9
commit
f706f5e0e8
|
@ -115,7 +115,12 @@ LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
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
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
|
|
Loading…
Reference in New Issue