Changeset 36 in flair-dev for trunk/scripts
- Timestamp:
- Nov 3, 2016, 11:14:54 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/flair_compile_all.sh
r35 r36 31 31 cd $1/$2 32 32 33 if [ -f cmake_codeblocks.sh ]; then 34 green_echo "only configuring it for $(uname -m)" 35 ./cmake_codeblocks.sh > /dev/null 36 else 37 rm -f build_arm/CMakeCache.txt 38 $FLAIR_ROOT/flair-dev/scripts/cmake_codeblocks.sh > /dev/null 39 fi 33 rm -f build_arm/CMakeCache.txt 34 $FLAIR_ROOT/flair-dev/scripts/cmake_codeblocks.sh > /dev/null 40 35 41 36 check_error … … 46 41 47 42 function cross_compile () { 48 if ! [ -f $1/$2/cmake_codeblocks.sh ]; then 49 green_echo "Cross compiling and installing $2" 50 cd $1/$2/build_arm 51 if [ "$from_scratch" = "yes" ]; then make clean > /dev/null; fi 52 make -j$NB_THREADS > /dev/null 53 check_error 54 make install 55 fi 43 green_echo "Cross compiling and installing $2" 44 cd $1/$2/build_arm 45 if [ "$from_scratch" = "yes" ]; then make clean > /dev/null; fi 46 make -j$NB_THREADS > /dev/null 47 check_error 48 make install 56 49 } 57 50
Note:
See TracChangeset
for help on using the changeset viewer.