Fix some files.
This commit is contained in:
parent
167ff9b843
commit
19bb0c3f38
|
@ -24,6 +24,10 @@
|
|||
[ -z "${FINALLIBDIR}" ] && FINALLIBDIR="${LIBDIR}"
|
||||
[ -z "${FINALINCLUDEDIR}" ] && FINALINCLUDEDIR="${INCLUDEDIR}"
|
||||
|
||||
# for SDCC-built firmware
|
||||
[ -z "${HEXDIR}" ] && HEXDIR="${PREFIX}/share/firmware"
|
||||
[ -z "${SDCC}" ] && SDCC="sdcc"
|
||||
|
||||
|
||||
|
||||
# Get version information
|
||||
|
@ -239,7 +243,7 @@ build_target() {
|
|||
|
||||
for item in ${ITEMS}
|
||||
do
|
||||
do_cmd source ${item} || return 1
|
||||
do_cmd source ${item} || exit 1
|
||||
done
|
||||
return 0
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ then
|
|||
|
||||
echo "Building application ${@NAME@}..."
|
||||
|
||||
source src/@NAME@/build.monolithic
|
||||
do_cmd source src/@NAME@/build.monolithic || return 1
|
||||
|
||||
MODIFIED=0
|
||||
for test in ${MONOLITHIC_TESTS} ${SRC}
|
||||
|
|
|
@ -14,7 +14,7 @@ then
|
|||
|
||||
echo "Building library ${@CNAME@}..."
|
||||
|
||||
source src/@NAME@/build.monolithic
|
||||
do_cmd source src/@NAME@/build.monolithic || return 1
|
||||
|
||||
MODIFIED=0
|
||||
for test in ${MONOLITHIC_TESTS} ${HDR} ${SRC}
|
||||
|
|
|
@ -10,7 +10,7 @@ then
|
|||
|
||||
echo "Building application ${@NAME@}..."
|
||||
|
||||
source src/@NAME@/build.monolithic
|
||||
do_cmd source src/@NAME@/build.monolithic || return 1
|
||||
|
||||
MODIFIED=0
|
||||
for test in ${MONOLITHIC_TESTS} ${SRC}
|
||||
|
|
|
@ -14,7 +14,7 @@ then
|
|||
|
||||
echo "Building library ${@CNAME@}..."
|
||||
|
||||
source src/@NAME@/build.monolithic
|
||||
do_cmd source src/@NAME@/build.monolithic || return 1
|
||||
|
||||
MODIFIED=0
|
||||
for test in ${MONOLITHIC_TESTS} ${HDR} ${SRC}
|
||||
|
|
|
@ -3,10 +3,6 @@
|
|||
# @NAME@_BUILT
|
||||
#
|
||||
|
||||
# HACK -- this should probably be in the top-level makefile
|
||||
[ -z "${SDCC}" ] && SDCC=sdcc
|
||||
[ -z "${SDCCFLAGS}" ] && SDCCFLAGS="@TODO@"
|
||||
|
||||
if [ -z ${@NAME@_BUILT} ]
|
||||
then
|
||||
@NAME@="obj/@NAME@.hex"
|
||||
|
|
Loading…
Reference in New Issue