comparison scripts/update_board @ 451:7f9032f43f41 prerelease

Do a coreclean in update_board
author Liam Donovan <l.b.donovan@qmul.ac.uk>
date Sun, 19 Jun 2016 22:43:06 +0100
parents d2dfa1718edb
children 0567af952cfa
comparison
equal deleted inserted replaced
450:d2dfa1718edb 451:7f9032f43f41
152 152
153 printf "Building example projects..." 153 printf "Building example projects..."
154 ssh $BBB_ADDRESS "sh $BBB_BELA_HOME/examples/core/link_core.sh" 154 ssh $BBB_ADDRESS "sh $BBB_BELA_HOME/examples/core/link_core.sh"
155 error_handler $? "\nError while building example projects\n" 155 error_handler $? "\nError while building example projects\n"
156 156
157 printf "Cleaning build environment..."
158 ssh $BBB_ADDRESS "make -C $BBB_BELA_HOME --no-print-directory coreclean"
159 error_handler $? "\nError cleaning core\n"
160
157 #------------- 161 #-------------
158 #Installing IDE 162 #Installing IDE
159 [ $ALWAYS_YES -eq 0 ] && ALWAYS_YES_FLAG= || ALWAYS_YES_FLAG="-y" 163 [ $ALWAYS_YES -eq 0 ] && ALWAYS_YES_FLAG= || ALWAYS_YES_FLAG="-y"
160 ls $IDE_FOLDER/scripts/setup_IDE.sh >/dev/null 2>/dev/null 164 ls $IDE_FOLDER/scripts/setup_IDE.sh >/dev/null 2>/dev/null
161 if [ $? -eq 0 ] 165 if [ $? -eq 0 ]