Update build.monolithic files to use wildcards
This commit is contained in:
parent
32f26f386a
commit
0bc48fd499
|
@ -8,7 +8,7 @@ MONOLITHIC_TESTS="src/@NAME@/build.app src/@NAME@/build.monolithic"
|
||||||
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
||||||
then
|
then
|
||||||
PREMOC="${SRC}.premoc.cpp"
|
PREMOC="${SRC}.premoc.cpp"
|
||||||
MONOLITHIC_SOURCE="$(echo src/@NAME@/TopSource.cpp)"
|
MONOLITHIC_SOURCE="$(echo src/@NAME@/*.cpp)"
|
||||||
make_monolithic ${PREMOC} C || return 1
|
make_monolithic ${PREMOC} C || return 1
|
||||||
|
|
||||||
if [ "${PREMOC}" -nt "${SRC}" ]
|
if [ "${PREMOC}" -nt "${SRC}" ]
|
||||||
|
|
|
@ -7,7 +7,7 @@ MONOLITHIC_TESTS="src/@NAME@/build.app src/@NAME@/build.monolithic"
|
||||||
|
|
||||||
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
||||||
then
|
then
|
||||||
MONOLITHIC_SOURCE="$(echo src/@NAME@/TopSource.cpp)"
|
MONOLITHIC_SOURCE="$(echo src/@NAME@/*.cpp)"
|
||||||
make_monolithic ${SRC} C || return 1
|
make_monolithic ${SRC} C || return 1
|
||||||
|
|
||||||
@CNAME@_MONOLITHIC=1
|
@CNAME@_MONOLITHIC=1
|
||||||
|
|
|
@ -7,7 +7,7 @@ MONOLITHIC_TESTS="src/@NAME@/build.firmware src/@NAME@/build.monolithic"
|
||||||
|
|
||||||
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
||||||
then
|
then
|
||||||
MONOLITHIC_SOURCE="$(echo src/@NAME@/{TopSource,BottomSource}.asm)"
|
MONOLITHIC_SOURCE="$(echo src/@NAME@/*.asm)"
|
||||||
make_monolithic ${SRC} none || return 1
|
make_monolithic ${SRC} none || return 1
|
||||||
|
|
||||||
@CNAME@_MONOLITHIC=1
|
@CNAME@_MONOLITHIC=1
|
||||||
|
|
|
@ -7,7 +7,7 @@ MONOLITHIC_TESTS="src/@NAME@/build.firmware src/@NAME@/build.monolithic"
|
||||||
|
|
||||||
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
||||||
then
|
then
|
||||||
MONOLITHIC_SOURCE="$(echo src/@NAME@/TopSource.c)"
|
MONOLITHIC_SOURCE="$(echo src/@NAME@/*.c)"
|
||||||
make_monolithic ${SRC} C || return 1
|
make_monolithic ${SRC} C || return 1
|
||||||
|
|
||||||
@CNAME@_MONOLITHIC=1
|
@CNAME@_MONOLITHIC=1
|
||||||
|
|
|
@ -8,10 +8,10 @@ MONOLITHIC_TESTS="src/@NAME@/build.lib src/@NAME@/build.monolithic"
|
||||||
|
|
||||||
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
||||||
then
|
then
|
||||||
MONOLITHIC_SOURCE="$(echo src/@NAME@/{TopHeader,BottomHeader}.h)"
|
MONOLITHIC_SOURCE="$(echo src/@NAME@/*.h)"
|
||||||
make_monolithic ${HDR} Ch || return 1
|
make_monolithic ${HDR} Ch || return 1
|
||||||
|
|
||||||
MONOLITHIC_SOURCE="$(echo src/@NAME@/TopSource.cpp)"
|
MONOLITHIC_SOURCE="$(echo src/@NAME@/*.cpp)"
|
||||||
make_monolithic ${SRC} C || return 1
|
make_monolithic ${SRC} C || return 1
|
||||||
|
|
||||||
@CNAME@_MONOLITHIC=1
|
@CNAME@_MONOLITHIC=1
|
||||||
|
|
|
@ -8,10 +8,10 @@ MONOLITHIC_TESTS="src/@NAME@/build.lib src/@NAME@/build.monolithic"
|
||||||
|
|
||||||
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
||||||
then
|
then
|
||||||
MONOLITHIC_SOURCE="$(echo src/@NAME@/{TopHeader,BottomHeader}.h)"
|
MONOLITHIC_SOURCE="$(echo src/@NAME@/*.h)"
|
||||||
make_monolithic ${HDR} Ch || return 1
|
make_monolithic ${HDR} Ch || return 1
|
||||||
|
|
||||||
MONOLITHIC_SOURCE="$(echo src/@NAME@/TopSource.c)"
|
MONOLITHIC_SOURCE="$(echo src/@NAME@/*.c)"
|
||||||
make_monolithic ${SRC} C || return 1
|
make_monolithic ${SRC} C || return 1
|
||||||
|
|
||||||
@CNAME@_MONOLITHIC=1
|
@CNAME@_MONOLITHIC=1
|
||||||
|
|
|
@ -8,7 +8,7 @@ MONOLITHIC_TESTS="src/@NAME@/build.module src/@NAME@/build.monolithic"
|
||||||
|
|
||||||
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
||||||
then
|
then
|
||||||
MONOLITHIC_SOURCE="$(echo src/@NAME@/TopSource.c)"
|
MONOLITHIC_SOURCE="$(echo src/@NAME@/*.c)"
|
||||||
make_monolithic ${SRC} C || return 1
|
make_monolithic ${SRC} C || return 1
|
||||||
|
|
||||||
@CNAME@_MONOLITHIC=1
|
@CNAME@_MONOLITHIC=1
|
||||||
|
|
Loading…
Reference in New Issue