doit=true
make_opts=
-cmd_prefix=${CROSS_COMPILE-arm-926ejs-linux-gnu-}
-
error() {
if [ -n "${target}" ];then
echo "${target} build aborted"
cd "$wd"
}
-if [ `uname -s` = Linux ];then
- PATH="/usr/local/arm/cross-gcc-4.2.0/i686-pc-linux-gnu/bin:$PATH"
-fi
-
while getopts "$options" opt;do
case $opt in
c)
if $clean;then
$quiet || echo "Cleaning up build tree for ${target}"
- #make ${make_opts} COMMAND_PREFIX=${cmd_prefix} clean
make ${make_opts} clean
fi
$quiet || echo "Compiling ${target}"
[ -d "${build_dir}" ]
- #make -C "${build_dir}" COMMAND_PREFIX=${cmd_prefix} ${make_opts}
make -C "${build_dir}" ${make_opts}
cd $wd