]> rtime.felk.cvut.cz Git - omk.git/blobdiff - snippets/nuttx-compile.omk
NuttX: the adapt to new implementation of ROMFS mounting at /etc
[omk.git] / snippets / nuttx-compile.omk
index 1539adb4126ba8daa3aebdcf39b6d31f3f4be25a..3acc85e0cd982765132769e12298923fa6486eb8 100644 (file)
@@ -410,6 +410,7 @@ $(2)$$(OBJ_EXT): $(2)
        @$(QUIET_CMD_ECHO) "  ROMFS   $$@"
        $(Q) $(LD_RAW) -r --accept-unknown-input-arch -b binary \
                $$(filter -m%,$$(LDFLAGS:$$(CC_LD_OPTION)%=%)) \
+               --defsym=$(2)=_binary_$(2)_start \
                --defsym=$(2)_size=_binary_$(2)_size \
                --defsym=$(2)_start=_binary_$(2)_start \
                --defsym=$(2)_end=_binary_$(2)_end \