nuttx/boards/arm/imxrt/teensy-4.x/scripts
Pavel Pisa d77fe3390f board/arm/imxrt: the request for map file in Make.defs LDFLAGS results in absolute path in export target.
The BSP MAke.defs line

  LDFLAGS += -Map=$(TOPDIR)/nuttx.map

results  in absolute path in nuttx-export/scripts/Make.defs
which would mean that each application rebuild would attempt
to modify file inside original build of NuttX system.

Even worse, it prevents linking by GCC, because -Map=xxx/nuttx.map
works directly in LD, it would require -Wl,-Map= for GCC.

Fixed name of map file prevents to define map file by build
system using exported NuttX libraries and link kit.

Change is done to allow OMK template based applications
development for another NuttX BSP

  https://github.com/ppisa/nuttx-devel/tree/master/nuttx-omk-template

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2021-01-29 10:40:03 -08:00
..
flash-ocram.ld boards/arm/imxrt/teensy-4.x: fixed build error and nx style 2020-12-04 10:18:41 -08:00
flash.ld board/arm/imxrt: Added Teensy-4 BSP based on imxrt1060-evk 2020-12-04 10:18:41 -08:00
kernel-space.ld board/arm/imxrt: Added Teensy-4 BSP based on imxrt1060-evk 2020-12-04 10:18:41 -08:00
Make.defs board/arm/imxrt: the request for map file in Make.defs LDFLAGS results in absolute path in export target. 2021-01-29 10:40:03 -08:00
memory.ld board/arm/imxrt: Added Teensy-4 BSP based on imxrt1060-evk 2020-12-04 10:18:41 -08:00
user-space.ld board/arm/imxrt: Added Teensy-4 BSP based on imxrt1060-evk 2020-12-04 10:18:41 -08:00