Commit a8bd654a authored by Neil Turton's avatar Neil Turton
Browse files

Version RO_3_70 taken

...@@ -24,8 +24,6 @@ ...@@ -24,8 +24,6 @@
VPATH = @ <Support$Dir> VPATH = @ <Support$Dir>
RESDIR = <resource$dir>.Resources2.${COMPONENT}
# #
# Generic options: # Generic options:
# #
...@@ -50,13 +48,14 @@ ABSSYM = RISC_OSLib:o.abssym ...@@ -50,13 +48,14 @@ ABSSYM = RISC_OSLib:o.abssym
# #
# Program specific options: # Program specific options:
# #
COMPONENT = BootCmds #COMPONENT = Set in Components/Installation file to 'rom' or 'Repeat'
TARGET = aof.BootCmds TARGET = aof.BootCmds
RESDIR = <resource$dir>.Resources2.BootCmds
OBJS = o.files o.header o.main o.Messages o.Repeat o.riscos OBJS = o.files o.header o.main o.Messages o.Repeat o.riscos
OBJSD = o.header o.hostfs debug.m debug.main debug.trace \ OBJSD = o.header o.hostfs debug.m debug.main debug.trace \
debug.riscos debug.files o.Repeat o.Messages debug.riscos debug.files o.Repeat o.Messages debug.svc
ROM_OBJS = o.files o.header o.main o.Repeat o.riscos ROM_OBJS = o.files o.header o.main o.Repeat o.riscos
...@@ -67,25 +66,37 @@ RESOURCES = o.Messages o.Repeat ...@@ -67,25 +66,37 @@ RESOURCES = o.Messages o.Repeat
# #
# Generic rules {used by top-level build}: # Generic rules {used by top-level build}:
# #
all: ${COMPONENT}; @
rom: ${TARGET} rom: ${TARGET}
@echo ${COMPONENT}: rom module built @echo BootCmds: rom module built
Repeat: Resources.Repeat; @
@echo Repeat: programme built
export: export:
@echo ${COMPONENT}: export complete @echo BootCmds: export complete
install: install_${COMPONENT}; @
install_rom: ${TARGET} install_rom: ${TARGET}
${CP} ${TARGET} ${INSTDIR}.${COMPONENT} ${CPFLAGS} ${CP} ${TARGET} ${INSTDIR}.BootCmds ${CPFLAGS}
@echo ${COMPONENT}: rom module installed @echo BootCmds: rom module installed
install_Repeat: Resources.Repeat
${CP} Resources.Repeat ${INSTDIR}.Repeat ${CPFLAGS}
@echo Repeat: installed
clean: clean:
-Destroy RM.BootCmds ${OBJS} ${OBJSD} ${TARGET} map.BootCmds linked.BootCmds \ -Destroy RM.BootCmds ${OBJS} ${OBJSD} ${TARGET} map.BootCmds linked.BootCmds \
o.repeatcmd Resources.Repeat o.repeatcmd Resources.Repeat
@echo ${COMPONENT}: cleaned @echo BootCmds: cleaned
resources: resources:
${MKDIR} ${RESDIR} ${MKDIR} ${RESDIR}
${CP} Resources.Messages ${RESDIR}.Messages ${CPFLAGS} ${CP} Resources.Messages ${RESDIR}.Messages ${CPFLAGS}
@echo ${COMPONENT}: Resources copied to Messages module @echo BootCmds: Resources copied to Messages module
# #
# ROM target (re-linked at ROM Image build time) # ROM target (re-linked at ROM Image build time)
...@@ -97,19 +108,16 @@ ${TARGET}: ${ROM_OBJS} ${OSLIB} ${RSTUBS} ...@@ -97,19 +108,16 @@ ${TARGET}: ${ROM_OBJS} ${OSLIB} ${RSTUBS}
# Final link for the ROM Image (using given base address) # Final link for the ROM Image (using given base address)
# #
rom_link: rom_link:
${LINK} -o linked.${COMPONENT} -bin -base ${ADDRESS} ${TARGET} ${ABSSYM} \ ${LINK} -o linked.BootCmds -bin -base ${ADDRESS} ${TARGET} ${ABSSYM} \
-map > map.${COMPONENT} -map > map.BootCmds
truncate map.${COMPONENT} linked.${COMPONENT} truncate map.BootCmds linked.BootCmds
${CP} linked.${COMPONENT} ${LINKDIR}.${COMPONENT} ${CPFLAGS} ${CP} linked.BootCmds ${LINKDIR}.BootCmds ${CPFLAGS}
@echo ${COMPONENT}: rom_link complete @echo BootCmds: rom_link complete
# #
# Extra {development} rules: # Extra {development} rules:
# #
all: RM.BootCmds RM.BootCmdsD
@Echo Made all
asms: ${ASMS} asms: ${ASMS}
release: RM.BootCmds release: RM.BootCmds
......
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