2006-07-25 19:00:04 +01:00
|
|
|
# These are external variables, and shouldn't clash with anything else
|
2006-07-26 19:38:18 +01:00
|
|
|
# @CNAME@_MONOLITHIC
|
2006-07-25 19:00:04 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
SRC="obj/@NAME@.c"
|
|
|
|
MONOLITHIC_TESTS="src/@NAME@/build.firmware src/@NAME@/build.monolithic"
|
|
|
|
|
2006-07-26 19:38:18 +01:00
|
|
|
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
2006-07-25 19:00:04 +01:00
|
|
|
then
|
2006-07-28 09:12:59 +01:00
|
|
|
MONOLITHIC_SOURCE="$(echo src/@NAME@/TopSource.c)"
|
2006-07-25 19:00:04 +01:00
|
|
|
make_monolithic ${SRC} C || return 1
|
|
|
|
|
2006-07-26 19:38:18 +01:00
|
|
|
@CNAME@_MONOLITHIC=1
|
2006-07-25 19:00:04 +01:00
|
|
|
MONOLITHIC_DOC="${MONOLITHIC_DOC} ${SRC}"
|
|
|
|
fi
|
|
|
|
|
2006-07-25 19:19:59 +01:00
|
|
|
# kate: @KATE_MODELINE@
|
2007-08-08 13:03:18 +01:00
|
|
|
# vim: syntax=sh:@VIM_MODELINE@
|