Commit 2a13bcb7 authored by Ben Avison's avatar Ben Avison
Browse files

Build-related changes.

Detail:
  * Deletes the linked and map directories on clean
  * Links using -rmf -base instead of -bin -base, since the latter requires
    the 26-bit-only truncate tool
  * Added stripdepnd
Admin:
  Tested in a Tungsten build.
  Tagged as 'bavison_ScrSaver-0_14'
parent 7c2dab04
......@@ -81,8 +81,8 @@ install_rom: ${TARGET}
clean:
${WIPE} o.* ${WFLAGS}
${WIPE} linked.* ${WFLAGS}
${WIPE} map.* ${WFLAGS}
${WIPE} linked ${WFLAGS}
${WIPE} map ${WFLAGS}
${RM} ${TARGET}
${RM} ${RAMTARGET}
${RM} ${APPTARGET}
......@@ -112,8 +112,7 @@ ${APPTARGET}: ${APPOBJS}
rom_link:
${MKDIR} linked
${MKDIR} map
${LD} -o linked.${COMPONENT} -map -bin -base ${ADDRESS} ${TARGET} ${ABSSYM} > map.${COMPONENT}
truncate map.${COMPONENT} linked.${COMPONENT}
${LD} -o linked.${COMPONENT} -map -rmf -base ${ADDRESS} ${TARGET} ${ABSSYM} > map.${COMPONENT}
${CP} linked.${COMPONENT} ${LINKDIR}.${COMPONENT} ${CPFLAGS}
@echo ${COMPONENT}: rom_link complete
......
Dir <Obey$Dir>
amu_machine clean
stripdepnd
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