summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80/src/Makefile.sdccl
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/z80/src/Makefile.sdccl')
-rw-r--r--nuttx/arch/z80/src/Makefile.sdccl3
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/arch/z80/src/Makefile.sdccl b/nuttx/arch/z80/src/Makefile.sdccl
index 3ccf2e33e..cbb3f8656 100644
--- a/nuttx/arch/z80/src/Makefile.sdccl
+++ b/nuttx/arch/z80/src/Makefile.sdccl
@@ -147,6 +147,9 @@ nuttx.lnk:
echo "-l $(TOPDIR)/lib/$$LIB" >> nuttx.lnk ;\
done
@echo "-l $(SDCCLIB)" >>nuttx.lnk # Name of SDCC z80 library
+ifneq ($(CONFIG_LINKER_HOME_AREA),)
+ @echo "-b _HOME=$(CONFIG_LINKER_HOME_AREA)" >>nuttx.lnk # Start of _HOME area
+endif
ifneq ($(CONFIG_LINKER_CODE_AREA),)
@echo "-b _CODE=$(CONFIG_LINKER_CODE_AREA)" >>nuttx.lnk # Start of _CODE area
else