Commit fa1a05ab authored by Stewart Brodie's avatar Stewart Brodie
Browse files

Fix to build combined CmdHelp+Messages file for standalone build.

parent fd810078
......@@ -46,6 +46,8 @@ SOURCE = s.FilterMgr
TARGET = rm.FilterMgr
EXPORTS = ${EXP_HDR}.Filter
MERGEDRESOURCE = MergedMsgs
#
# Generic rules:
#
......@@ -61,12 +63,13 @@ install_rom: ${TARGET}
clean:
${RM} ${TARGET}
${RM} ${MERGEDRESOURCE}
@echo ${COMPONENT}: cleaned
resources: resources-${CMDHELP}
@echo ${COMPONENT}: resource files copied
resources_common:
resources_common: ${MERGEDRESOURCE}
${MKDIR} ${RESDIR}.${COMPONENT}
${CP} Resources.${LOCALE}.Messages ${RESDIR}.${COMPONENT}.Messages ${CPFLAGS}
......@@ -76,7 +79,11 @@ resources-None: resources_common
resources-: resources_common
print Resources.${LOCALE}.CmdHelp { >> ${RESDIR}.${COMPONENT}.Messages }
${TARGET}: ${SOURCE}
${MERGEDRESOURCE}: Resources.${LOCALE}.Messages Resources.${LOCALE}.CmdHelp
${CP} Resources.${LOCALE}.Messages ${MERGEDRESOURCE} ${CPFLAGS}
print Resources.${LOCALE}.CmdHelp { >> ${MERGEDRESOURCE} }
${TARGET}: ${SOURCE} ${MERGEDRESOURCE}
${AS} ${ASFLAGS} ${SOURCE}
${EXP_HDR}.Filter: hdr.Filter
......
......@@ -70,7 +70,7 @@ hostvdu SETL true ; True to send debug to tube
debugxx SETL false ; General debugging.
debugregister SETL false ; Register/de-register
standalone SETL false
standalone SETL false ; Build-in Messages file and i/f to ResourceFS
wsptr RN R12
......
......@@ -45,7 +45,7 @@ declareresourcefsfiles
Pull "R0,PC",,^
resourcefsfiles
ResourceFile Resources.<Locale>.Messages, Resources.FilterMgr.Messages
ResourceFile MergedMsgs, Resources.FilterMgr.Messages
DCD 0
]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment