sigrok-cross-android: Disable build of unneeded documentation.
authorUwe Hermann <uwe@hermann-uwe.de>
Fri, 31 Oct 2014 12:01:57 +0000 (13:01 +0100)
committerUwe Hermann <uwe@hermann-uwe.de>
Fri, 31 Oct 2014 12:01:57 +0000 (13:01 +0100)
cross-compile/android/sigrok-cross-android

index 7cd2c34ebed9d47d3dba590d4377f1c606f323b8..2bc0eb26cd22a4bc63478628e1685c629a1d69f0 100755 (executable)
@@ -242,7 +242,7 @@ cd ..
 $WGET http://www.intra2net.com/en/developer/libftdi/download/libftdi1-$VER_LIBFTDI1.tar.bz2
 tar xfj libftdi1-$VER_LIBFTDI1.tar.bz2
 cd libftdi1-$VER_LIBFTDI1
-cmake $CM -DFTDIPP=OFF .
+cmake $CM -DFTDIPP=no -DDOCUMENTATION=no -DEXAMPLES=no -DFTDI_EEPROM=no -DPYTHON_BINDINGS=no .
 make $PARALLEL
 make install
 cd ..
@@ -268,7 +268,7 @@ if [ x"$CPPFLAGS_STL" != x ]; then
   cd libsigc++-$VER_LIBSIGCXX
   cp -f ../config/config.guess build
   cp -f ../config/config.sub build
-  CPPFLAGS="$CPPFLAGS_STL" LDFLAGS="$LDFLAGS_STL -lgnustl_shared" ./configure $C
+  CPPFLAGS="$CPPFLAGS_STL" LDFLAGS="$LDFLAGS_STL -lgnustl_shared" ./configure --disable-documentation $C
   make $PARALLEL
   make install
   cd ..
@@ -277,7 +277,7 @@ if [ x"$CPPFLAGS_STL" != x ]; then
   $WGET http://ftp.gnome.org/pub/gnome/sources/glibmm/$VER_GLIB_SHORT/glibmm-$VER_GLIB.tar.xz
   tar xfJ glibmm-$VER_GLIB.tar.xz
   cd glibmm-$VER_GLIB
-  CPPFLAGS="$CPPFLAGS_STL" LDFLAGS="$LDFLAGS_STL -lgnustl_shared" ./configure $C
+  CPPFLAGS="$CPPFLAGS_STL" LDFLAGS="$LDFLAGS_STL -lgnustl_shared" ./configure --disable-documentation $C
   make $PARALLEL
   make install
   cd ..