Changeset 12607


Ignore:
Timestamp:
07/03/12 16:19:38 (13 years ago)
Author:
glperez
Message:

Changes to Android SDK and GSL install scripts.

Location:
issm/trunk-jpl/externalpackages
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/android/android-sdk/install.sh

    r12579 r12607  
    1414sd_card="issm-sdcard"
    1515
    16 ((tmp=$1- 3))
     16((tmp=$1 ))
    1717
    18 if [[ $tmp -ge "-2" && $tmp -le "3" ]]; then
     18if [[ $tmp -ge "1" && $tmp -le "4" ]]; then
    1919    step=$1
    2020else
     
    2525
    2626        #Cleanup the install
    27         rm -rf install-sdk install-ant
     27        rm -rf install-sdk
    2828
    2929        #Download from ISSM server
     
    8181
    8282    cd ../platform-tools
    83     ./adb wait-for-device shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock1 /system
     83    ./adb wait-for-device shell
     84    #./adb wait-for-device shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock1 /system
    8485    #./adb wait-for-device shell
    85     ./adb push $ISSM_TIER/src/c/issm.exe /data/issm.exe
    86     ./adb shell chmod 777 /data/issm.exe
    87     ./adb shell /data/issm.exe
     86    #./adb push $ISSM_TIER/src/c/issm.exe /data/issm.exe
     87    #./adb shell chmod 777 /data/issm.exe
     88    #./adb shell /data/issm.exe
    8889fi
    8990
    9091if [[ $step == "4" ]]; then
    91         rm -rf install-sdk install-ant
     92        rm -rf install-sdk
    9293fi
  • issm/trunk-jpl/externalpackages/android/android_variables.sh

    r12599 r12607  
    22ndk_rev=8
    33api_levels="android-14,android-15,android-16"
    4 host_triplet=""
     4host_triplet="arm-linux-androideabi"
    55default_droid="android-4.1"
    6 toolchain_path=${ANDROID_DIR}"/arm-linux-"${default_droid}"/bin/arm-linux-androideabi"
  • issm/trunk-jpl/externalpackages/gsl/install-android.sh

    r12579 r12607  
    2020
    2121./configure \
    22     CC=${toolchain_path}-gcc\
    23     LD=${toolchain_path}-ld\
    24     AR=${toolchain_path}-ar\
    25     RANLIB=${toolchain_path}-ranlib\
    26     NM=${toolchain_path}-nm\
    27     OBJ_EXT=o\
    28     LIB_EXT=a\
    29     --host="arm-linux"\
     22    --build="i386-apple-darwin10.8.0" \
     23    --host=$host_triplet\
    3024        --prefix="$ISSM_DIR/externalpackages/gsl/install"
    3125
Note: See TracChangeset for help on using the changeset viewer.