mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
mpfs: board Make.defs: add bootloader linker option
Use the linker script used with bootloaders that start from the eNVM. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
This commit is contained in:
committed by
Xiang Xiao
parent
ad76b6733c
commit
c7cf9fd9d2
@@ -22,7 +22,11 @@ include $(TOPDIR)/.config
|
|||||||
include $(TOPDIR)/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include $(TOPDIR)/arch/risc-v/src/rv64gc/Toolchain.defs
|
include $(TOPDIR)/arch/risc-v/src/rv64gc/Toolchain.defs
|
||||||
|
|
||||||
LDSCRIPT = ld.script
|
ifeq ($(CONFIG_MPFS_BOOTLOADER),y)
|
||||||
|
LDSCRIPT = ld-envm.script
|
||||||
|
else
|
||||||
|
LDSCRIPT = ld.script
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
ARCHSCRIPT = -T "${shell cygpath -w $(BOARD_DIR)$(DELIM)scripts$(DELIM)$(LDSCRIPT)}"
|
ARCHSCRIPT = -T "${shell cygpath -w $(BOARD_DIR)$(DELIM)scripts$(DELIM)$(LDSCRIPT)}"
|
||||||
|
|||||||
Reference in New Issue
Block a user