Changeset 26788


Ignore:
Timestamp:
2013-01-25T15:34:15+13:00 (9 years ago)
Author:
davidb
Message:

Cascade make can now patch files if needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/gnome-lib/trunk/src/CROSS-COMPILE.sh

    r26764 r26788  
    1818    /bin/rm .CONFIG-UPDATE-DONE
    1919  elif [ ! -f .CONFIG-UPDATE-DONE ] ; then
    20     echo "****"
    21     echo "* For Android cross-compiling, not all tarred-up packages"
    22     echo "* are new enough to shiip with configure files (config.guess"
    23     echo "* and config.sub) that recognize android as a --host choice"
    24     echo "****"
    25 
    26     echo "..."
    27     sleep 2
    28 
    29     ./CASCADE-MAKE.sh untar
    30     echo "=> Updating config.guess to newer version for all packages"
    31     find packages -name "config.guess" -exec /bin/cp android-extra/config.guess {} \; -print
    32     echo "=> Updating config.sub to newer version for all packages"
    33     find packages -name "config.sub" -exec /bin/cp android-extra/config.sub {}  \; -print
    34  
    35     echo "****"
    36     sleep 2
     20    ./ANDROID-FIX-CONFIG.sh
    3721
    3822    echo "Updated config.guess and config.sub files" > .CONFIG-UPDATE-DONE
     23
     24    echo "Applying android.patchs"
     25    cd packages \
     26       && patch -p0 < android-patches/gettext-android.patch \
     27       && patch -p0 < android-patches/libxml2-android.patch \
     28       && patch -p0 < android-patches/glib-android.patch \
     29       && cd ..
     30    sleep 3
     31
    3932  fi
    4033fi
Note: See TracChangeset for help on using the changeset viewer.