[12325] | 1 | Index: /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/android/android-sdk/install.sh
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/android/android-sdk/install.sh (revision 12226)
|
---|
| 4 | +++ /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/android/android-sdk/install.sh (revision 12227)
|
---|
| 5 | @@ -1,7 +1,7 @@
|
---|
| 6 | #This installs the Android SDK (Software Development Kit)
|
---|
| 7 | #which is needed for the compilation of the Java project.
|
---|
| 8 |
|
---|
| 9 | -step=1;
|
---|
| 10 | +step=3;
|
---|
| 11 |
|
---|
| 12 | #Different steps here.
|
---|
| 13 | #1: install sdk, ant and sdk tools
|
---|
| 14 | @@ -11,6 +11,7 @@
|
---|
| 15 |
|
---|
| 16 | present_dir=`pwd`;
|
---|
| 17 | default_droid="Android-4.0"
|
---|
| 18 | +sd_card="issm-sdcard"
|
---|
| 19 |
|
---|
| 20 | if [[ $step == "1" ]]; then
|
---|
| 21 |
|
---|
| 22 | @@ -61,6 +62,8 @@
|
---|
| 23 | #default settings will suffice. Press 'enter' to take default settings or enter 'no'.
|
---|
| 24 |
|
---|
| 25 | ./android create avd -f -n $default_droid -t 1 -p $ANDROID_DIR/android-emulators/$default_droid --abi armeabi-v7a
|
---|
| 26 | + echo "Creating an SD Card"
|
---|
| 27 | + ./mksdcard -l $sd_card 2G $ANDROID_DIR/android-emulators/$sd_card.img
|
---|
| 28 | fi
|
---|
| 29 |
|
---|
| 30 | if [[ $step == "3" ]]; then
|
---|
| 31 | @@ -69,11 +72,14 @@
|
---|
| 32 | #a terminal in our device.
|
---|
| 33 |
|
---|
| 34 | cd $present_dir/install-sdk/tools
|
---|
| 35 | - ./emulator -avd $default_droid -sdcard $ANDROID_DIR/android-emulators/test &
|
---|
| 36 | + ./emulator -avd $default_droid -sdcard $ANDROID_DIR/android-emulators/$sd_card.img &
|
---|
| 37 |
|
---|
| 38 | cd ../platform-tools
|
---|
| 39 | - ./adb wait-for-device shell
|
---|
| 40 | -
|
---|
| 41 | + ./adb wait-for-device shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock1 /system
|
---|
| 42 | + #./adb wait-for-device shell
|
---|
| 43 | + ./adb push $ISSM_TIER/src/c/issm.exe /data/issm.exe
|
---|
| 44 | + ./adb shell chmod 777 /data/issm.exe
|
---|
| 45 | + ./adb shell /data/issm.exe
|
---|
| 46 | fi
|
---|
| 47 |
|
---|
| 48 | if [[ $step == "4" ]]; then
|
---|
| 49 | Index: /proj/ice/larour/issm-uci-clean/trunk-jpl/configs/config-arm-linux.sh
|
---|
| 50 | ===================================================================
|
---|
| 51 | --- /proj/ice/larour/issm-uci-clean/trunk-jpl/configs/config-arm-linux.sh (revision 12226)
|
---|
| 52 | +++ /proj/ice/larour/issm-uci-clean/trunk-jpl/configs/config-arm-linux.sh (revision 12227)
|
---|
| 53 | @@ -4,6 +4,10 @@
|
---|
| 54 | --prefix=$ISSM_DIR \
|
---|
| 55 | --host="arm-linux" \
|
---|
| 56 | --without-modules \
|
---|
| 57 | + CC=$ANDROID_DIR/arm-linux-android-4.0/bin/arm-linux-androideabi-gcc \
|
---|
| 58 | + GCC=$ANDROID_DIR/arm-linux-android-4.0/bin/arm-linux-androideabi-gcc \
|
---|
| 59 | + CXX=$ANDROID_DIR/arm-linux-android-4.0/bin/arm-linux-androideabi-g++ \
|
---|
| 60 | --with-vendor=arm-linux \
|
---|
| 61 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
|
---|
| 62 | - --with-gsl-dir=$ISSM_DIR/externalpackages/gsl/install
|
---|
| 63 | + --with-gsl-dir=$ISSM_DIR/externalpackages/gsl/install\
|
---|
| 64 | + --without-fortran-lib
|
---|
| 65 | Index: /proj/ice/larour/issm-uci-clean/trunk-jpl/configure.ac
|
---|
| 66 | ===================================================================
|
---|
| 67 | --- /proj/ice/larour/issm-uci-clean/trunk-jpl/configure.ac (revision 12226)
|
---|
| 68 | +++ /proj/ice/larour/issm-uci-clean/trunk-jpl/configure.ac (revision 12227)
|
---|
| 69 | @@ -9,7 +9,7 @@
|
---|
| 70 | AC_PROG_CC([cccl cl icl gcc])
|
---|
| 71 | AC_PROG_CPP
|
---|
| 72 | AC_PROG_CXX([cccl cl icl g++])
|
---|
| 73 | -AC_PROG_F77([ifort g77 gfortran])
|
---|
| 74 | +#AC_PROG_F77([ifort g77 gfortran])
|
---|
| 75 | #Libraries and linking
|
---|
| 76 | AC_PROG_RANLIB
|
---|
| 77 | AC_F77_LIBRARY_LDFLAGS
|
---|