Ignore:
Timestamp:
Jul 30, 2012, 2:25:20 AM (11 years ago)
Author:
sam
Message:

build: switch the Android native build rules to autoconf; still a bit rough
but we can now create shared objects for each project; only the testsuite
is not building properly because of issues with STLport, and EglApp is
deactivated because AndroidApp should have precedence.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build/lol-build

    r1679 r1684  
    8080            # No bootstrapping needed
    8181            ;;
    82         android-arm)
    83             # No bootstrapping needed
    84             ;;
    8582        *)
    8683            PATH="$PATH" M4PATH="$M4PATH" ./bootstrap
     
    157154            ;;
    158155        android-arm)
    159             cd monsterz/android
    160             android update project --path .
     156            ./configure --host=arm-linux-androideabi ac_cv_exeext=.so \
     157                CPPFLAGS="-Wno-psabi -I$ANDROID_NDK_ROOT/sources/cxx-stl/stlport/stlport -I$ANDROID_NDK_ROOT/sources/cxx-stl/gabi++/include -fpic -fno-exceptions -fno-rtti -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64" \
     158                CFLAGS="-march=armv5te -mtune=xscale -msoft-float -mthumb" \
     159                CXXFLAGS="-march=armv5te -mtune=xscale -msoft-float -mthumb" \
     160                LOL_LIBS="-L$ANDROID_NDK_ROOT/sources/cxx-stl/stlport/libs/armeabi -lstlport_shared -lm -fpic -XCClinker -shared"
     161            # FIXME: is this needed?
     162            # android update project --path .
     163            # ndk-build
     164            # ant compile
     165            # ndk-build distclean
     166            # ant clean
    161167            ;;
    162168        raspi-arm)
     
    210216            xcodebuild -configuration Release -sdk iphonesimulator4.3
    211217            ;;
    212         android-arm)
    213             cd monsterz/android
    214             ndk-build
    215             ant compile
    216             ;;
    217218        *)
    218219            make -j$LOL_PARALLEL
     
    262263            xcodebuild -configuration Release -sdk iphonesimulator4.3 clean
    263264            ;;
    264         android-arm)
    265             cd monsterz/android
    266             ndk-build distclean
    267             ant clean
    268             ;;
    269265        *)
    270266            make distclean
Note: See TracChangeset for help on using the changeset viewer.