# HG changeset patch # User Liam Donovan # Date 1466372586 -3600 # Node ID 7f9032f43f410c968a5b9a12d0dc6a4021bafaba # Parent d2dfa1718edb790aaa41fc69763b48f127ee2685 Do a coreclean in update_board diff -r d2dfa1718edb -r 7f9032f43f41 scripts/update_board --- a/scripts/update_board Sun Jun 19 22:28:34 2016 +0100 +++ b/scripts/update_board Sun Jun 19 22:43:06 2016 +0100 @@ -154,6 +154,10 @@ ssh $BBB_ADDRESS "sh $BBB_BELA_HOME/examples/core/link_core.sh" error_handler $? "\nError while building example projects\n" +printf "Cleaning build environment..." +ssh $BBB_ADDRESS "make -C $BBB_BELA_HOME --no-print-directory coreclean" +error_handler $? "\nError cleaning core\n" + #------------- #Installing IDE [ $ALWAYS_YES -eq 0 ] && ALWAYS_YES_FLAG= || ALWAYS_YES_FLAG="-y"