CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Fixed CFLAGS for strongarm and arm9tdmi optimizations
authorJose V Beneyto <sepen@crux.nu>
Tue, 27 Apr 2010 06:38:16 +0000 (08:38 +0200)
committerJose V Beneyto <sepen@crux.nu>
Tue, 27 Apr 2010 06:38:16 +0000 (08:38 +0200)
src/pkgmk.conf

index a90ad9528e205002a3f6d4c0ec537d9c0f02fb3a..326b12548f734dffe0269d6cb3f54f3e99d885a6 100644 (file)
@@ -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"