lw-build-system/scripts/build.firmware.gpasm/build.monolithic

19 lines
478 B
Bash

# These are external variables, and shouldn't clash with anything else
# @CNAME@_MONOLITHIC
#
SRC="obj/@NAME@.asm"
MONOLITHIC_TESTS="src/@NAME@/build.firmware src/@NAME@/build.monolithic"
if [ -z "${@CNAME@_MONOLITHIC}" ]
then
MONOLITHIC_SOURCE="$(echo src/@NAME@/{TopSource,BottomSource}.asm)"
make_monolithic ${SRC} none || return 1
@CNAME@_MONOLITHIC=1
MONOLITHIC_DOC="${MONOLITHIC_DOC} ${SRC}"
fi
# kate: @KATE_MODELINE@
# vim: syntax=sh:@VIM_MODELINE@