From: Jose V Beneyto Date: Tue, 27 Apr 2010 06:38:16 +0000 (+0200) Subject: Fixed CFLAGS for strongarm and arm9tdmi optimizations X-Git-Url: http://gitweb/?a=commitdiff_plain;h=cca75ebf75e3c9c1a3e906aecc772224204f5117;p=pkgutils-cross.git Fixed CFLAGS for strongarm and arm9tdmi optimizations --- diff --git a/src/pkgmk.conf b/src/pkgmk.conf index a90ad95..326b125 100644 --- a/src/pkgmk.conf +++ b/src/pkgmk.conf @@ -3,10 +3,15 @@ # export CHOST="$(echo $MACHTYPE)" -export CTARGET="arm-crux-linux-gnueabi" -export CLFS="/devel/crux-arm/toolchain/clfs" -export CROSSTOOLS="/devel/crux-arm/toolchain/crosstools" +#export CTARGET="arm-crux-linux-gnueabi" +export CTARGET="arm-crux-linux-gnu" + +#export CLFS="/devel/crux-arm/toolchain-noeabi/clfs" +#export CROSSTOOLS="/devel/crux-arm/toolchain-noeabi/crosstools" +export CLFS="/devel/crux-arm/toolchain-noeabi/clfs" +export CROSSTOOLS="/devel/crux-arm/toolchain-noeabi/crosstools" + export PATH="$CROSSTOOLS/bin:$PATH" export LD_LIBRARY_PATH="$CROSSTOOLS/lib:$CROSSTOOLS/usr/lib:/usr/lib/libfakeroot" @@ -19,12 +24,12 @@ export RANLIB="$CTARGET-ranlib" export LD="$CTARGET-ld" export STRIP="$CTARGET-strip" -export CFLAGS="-O2 -pipe -msoft-float" +export CFLAGS="-O2 -pipe" export CXXFLAGS="$CFLAGS" -arm9tdmi_CFLAGS="-O2 -pipe -msoft-float -march=armv4 -mtune=arm9tdmi" +arm9tdmi_CFLAGS="-O2 -pipe -march=armv4 -mtune=arm9tdmi" armv5te_CFLAGS="-O2 -pipe -msoft-float -march=armv5te" -strongarm_CFLAGS="-O2 -pipe -msoft-float -march=armv4 -mtune=strongarm" +strongarm_CFLAGS="-O2 -pipe -march=armv4 -mtune=strongarm" xscale_CFLAGS="-O2 -pipe -msoft-float -march=armv5te -mtune=xscale" STRIP_CMD="$STRIP"