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
|
2007-09-26 12:52:40 +01:00
|
|
|
MONOLITHIC_SOURCE="$(find src/@NAME@/ -name '*.c' | sort)"
|
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
|
|
|
|
|
2007-08-08 13:03:18 +01:00
|
|
|
# vim: syntax=sh:@VIM_MODELINE@
|