This should fix the builds

pull/287/head
BeZo 2 years ago
parent 959b123f45
commit d944ec48dd
  1. 21
      build.sh

@ -1,10 +1,4 @@
#!/bin/bash f [ -z "${RPI}" ] ; then
set -e
set -x
echo "Clean: ${CLEAN}"
if [ -z "${RPI}" ] ; then
echo "\$RPI missing, exting" echo "\$RPI missing, exting"
exit 1 exit 1
fi fi
@ -21,42 +15,29 @@ if [ "${RPI}" -gt "1" ]; then
OPTIONS="${OPTIONS} -o ARM_ALLOW_MULTI_CORE" OPTIONS="${OPTIONS} -o ARM_ALLOW_MULTI_CORE"
fi fi
if [ ! -z "${BUILDCIRCLE}" ] ; then
# Build circle-stdlib library # Build circle-stdlib library
cd circle-stdlib/ cd circle-stdlib/
if [ ! -z "${CLEAN}" ] ; then
make mrproper || true make mrproper || true
fi
./configure -r ${RPI} --prefix "${TOOLCHAIN_PREFIX}" ${OPTIONS} -o KERNEL_MAX_SIZE=0x400000 ./configure -r ${RPI} --prefix "${TOOLCHAIN_PREFIX}" ${OPTIONS} -o KERNEL_MAX_SIZE=0x400000
make -j make -j
# Build additional libraries # Build additional libraries
cd libs/circle/addon/display/ cd libs/circle/addon/display/
if [ ! -z "${CLEAN}" ] ; then
make clean || true make clean || true
fi
make -j make -j
cd ../sensor/ cd ../sensor/
if [ ! -z "${CLEAN}" ] ; then
make clean || true make clean || true
fi
make -j make -j
cd ../Properties/ cd ../Properties/
if [ ! -z "${CLEAN}" ] ; then
make clean || true make clean || true
fi
make -j make -j
cd ../../../.. cd ../../../..
cd .. cd ..
fi
# Build MiniDexed # Build MiniDexed
echo "Build MiniDexed"
cd src cd src
if [ ! -z "${CLEAN}" ] ; then
make clean || true make clean || true
fi
make -j make -j
ls *.img ls *.img
cd .. cd ..

Loading…
Cancel
Save