Update build.sh

pull/865/head
probonopd 2 months ago committed by GitHub
parent e0881c342a
commit 6b41427c4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 17
      build.sh

@ -20,6 +20,11 @@ if [ "${RPI}" -gt "1" ]; then
OPTIONS="${OPTIONS} -o ARM_ALLOW_MULTI_CORE"
fi
# For wireless access
if [ "${RPI}" == "3" ]; then
OPTIONS="${OPTIONS} -o USE_SDHOST"
fi
# USB Vendor and Device ID for use with USB Gadget Mode
source USBID.sh
if [ "${USB_VID}" ] ; then
@ -39,6 +44,11 @@ make -j
cd libs/circle/addon/display/
make clean || true
make -j
cd ../wlan/
make clean || true
make -j
cd ../sensor/
make clean || true
make -j
@ -51,7 +61,12 @@ cd ..
# Build MiniDexed
cd src
make clean || true
make clean
echo "***** DEBUG *****"
env
rm -rf ./gcc-* || true
grep -r 'aarch64-none-elf' . || true
find . -type d -name 'aarch64-none-elf' || true
make -j
ls *.img
cd ..

Loading…
Cancel
Save