diff --git a/cross-compiling/cross-gcc/cross-gcc.SlackBuild b/cross-compiling/cross-gcc/cross-gcc.SlackBuild index 542b953a..271bd3ee 100755 --- a/cross-compiling/cross-gcc/cross-gcc.SlackBuild +++ b/cross-compiling/cross-gcc/cross-gcc.SlackBuild @@ -26,7 +26,7 @@ SRCNAM=gcc SRCVER=4.5.2 ARCH=${ARCH:-$(uname -m)} CROSS=${CROSS:-armv5te} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-cyco} PRGNAM=cross-$SRCNAM @@ -89,7 +89,7 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-multilib \ --with-gnu-ld \ --verbose \ - --target=$CROSS-$SYSTEM \ + --target=$CROSS-none-eabi \ --build=$ARCH-$SYSTEM \ --host=$ARCH-$SYSTEM diff --git a/xap/chromium/chromium.SlackBuild b/xap/chromium/chromium.SlackBuild index be93b1a3..cb780231 100755 --- a/xap/chromium/chromium.SlackBuild +++ b/xap/chromium/chromium.SlackBuild @@ -28,6 +28,7 @@ CWD=$(pwd) PRGNAM=$(basename $CWD) VERSION=snapshot +REVISION=${REVISION:-} ARCH=${ARCH:-$(uname -m)} BUILD=${BUILD:-1} TAG=${TAG:-cyco} @@ -50,12 +51,14 @@ rm -rf $PKG mkdir -p $TMP $PKG/opt $OUTPUT cd $PKG/opt +if [ "x$REVISION" == "x" ]; then #get latest revision number -[ -e ./LATEST ] && rm ./LATEST -wget -c http://build.chromium.org/buildbot/snapshots/$REL/LATEST -REVISION=$(cat ./LATEST) + [ -e ./LATEST ] && rm ./LATEST + wget -c http://build.chromium.org/buildbot/snapshots/$REL/LATEST + REVISION=$(cat ./LATEST) + rm ./LATEST] +fi VERSION=${VERSION}_$REVISION -rm ./LATEST #get chromium [ -e chrome-linux.zip ] && rm chrome-linux.zip