d77fe3390f
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> |
||
---|---|---|
.. | ||
flash-ocram.ld | ||
flash.ld | ||
kernel-space.ld | ||
Make.defs | ||
memory.ld | ||
user-space.ld |