CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Added support for alternate config file in pkgadd commands (required for us to remove...
[pkgutils-cross.git] / pkgmk-cross.conf
index 06bc64bc37d4907d86032a293450bfbcbe8b8e80..4371a82eb76b41b3979e5431342b51e2a9d3b167 100644 (file)
@@ -4,13 +4,16 @@
 
 export CHOST="$(echo $MACHTYPE)"
 
-export CTARGET="arm-crux-linux-gnueabi"
+# hardfp (mainline)
+export CTARGET="arm-crux-linux-gnueabihf"
 export CLFS="/devel/crux-arm/toolchain/clfs"
 export CROSSTOOLS="/devel/crux-arm/toolchain/crosstools"
-# hardfp
-#export CTARGET="arm-crux-linux-gnueabihf"
-#export CLFS="/devel/crux-arm/toolchain-hardfp/clfs"
-#export CROSSTOOLS="/devel/crux-arm/toolchain-hardfp/crosstools"
+#
+# softfp
+#export CTARGET="arm-crux-linux-gnueabi"
+#export CLFS="/devel/crux-arm/toolchain-softfp/clfs"
+#export CROSSTOOLS="/devel/crux-arm/toolchain-softfp/crosstools"
+#
 # noeabi
 #export CTARGET="arm-crux-linux-gnu"
 #export CLFS="/devel/crux-arm/toolchain-noeabi/clfs"
@@ -27,16 +30,20 @@ export RANLIB="$CTARGET-ranlib"
 export LD="$CTARGET-ld"
 export STRIP="$CTARGET-strip"
 
-export CFLAGS="-O2 -pipe -mno-unaligned-access"
-# hardfp
-#export CFLAGS="-O2 -pipe -mno-unaligned-access -mfloat-abi=hard"
-export CXXFLAGS="$CFLAGS"
-
+# hardfp (mainline)
+export CFLAGS="-O2 -pipe -mno-unaligned-access -mfloat-abi=hard"
+#
+# softfp
+#export CFLAGS="-O2 -pipe -mno-unaligned-access"
+#
+# device optimizations (not really required if you can use native builds)
 #arm9tdmi_CFLAGS="-O2 -pipe -march=armv4 -mtune=arm9tdmi"
 #armv5te_CFLAGS="-O2 -pipe -msoft-float -march=armv5te"
 #strongarm_CFLAGS="-O2 -pipe -march=armv4 -mtune=strongarm"
 #xscale_CFLAGS="-O2 -pipe -msoft-float -march=armv5te -mtune=xscale"
 
+export CXXFLAGS="$CFLAGS"
+
 STRIP_CMD="$STRIP"
 
 # PKGMK_SOURCE_MIRRORS=()
@@ -47,5 +54,6 @@ STRIP_CMD="$STRIP"
 # PKGMK_IGNORE_FOOTPRINT="no"
 # PKGMK_NO_STRIP="no"
 # PKGMK_WGET_OPTS=""
+PKGMK_COMPRESSION_MODE="xz"
 
 # End of file