Changeset 36 in flair-dev for trunk/scripts


Ignore:
Timestamp:
Nov 3, 2016, 11:14:54 AM (5 years ago)
Author:
Sanahuja Guillaume
Message:

m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/flair_compile_all.sh

    r35 r36  
    3131                cd $1/$2
    3232
    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
    4035       
    4136                check_error
     
    4641
    4742function 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
    5649}
    5750
Note: See TracChangeset for help on using the changeset viewer.