CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Modified pkg*-cross scripts and pkgmk-cross.conf for being compatible with upstream...
authorJose V Beneyto <sepen@crux.nu>
Tue, 13 Aug 2013 19:24:35 +0000 (19:24 +0000)
committerJose V Beneyto <sepen@crux.nu>
Tue, 13 Aug 2013 19:24:35 +0000 (19:24 +0000)
pkgadd-cross
pkginfo-cross
pkgmk-cross
pkgmk-cross.conf
pkgrm-cross

index c3dd96e47ae3906c31752a0cb5fd3a09ad5c1f7e..168617144c86562320b666f7b170e38323cef231 100755 (executable)
@@ -2,9 +2,9 @@
 
 TOPDIR="$(cd $(dirname $(which $0)); pwd)"
 
-PKGADD=$TOPDIR/src/pkgadd
-PKGADD_CONF=$TOPDIR/src/pkgadd.conf
-PKGMK_CONF=$TOPDIR/src/pkgmk.conf
+PKGADD=$TOPDIR/pkgadd
+PKGADD_CONF=$TOPDIR/pkgadd.conf
+PKGMK_CONF=$TOPDIR/pkgmk-cross.conf
 . $PKGMK_CONF
 
 if [ -z "$CLFS" ]; then
index 3054c3adb2a7967a890ae636e74197838497daa9..4b2d359aaac957957e209a83834d80191c93950f 100755 (executable)
@@ -2,9 +2,9 @@
 
 TOPDIR="$(cd $(dirname $(which $0)); pwd)"
 
-PKGINFO=$TOPDIR/pkginfo
+PKGINFO=$TOPDIR/pkgadd
 
-PKGMK_CONF=$TOPDIR/src/pkgmk.conf
+PKGMK_CONF=$TOPDIR/pkgmk-cross.conf
 . $PKGMK_CONF
 
 if [ -z "$CLFS" ]; then
index f5ecafce82438384bb913b7f98298a9db6e51e94..a3c64ba7038f105f65b170215c4f0adae931d053 100755 (executable)
@@ -3,8 +3,8 @@
 TOPDIR="$(cd $(dirname $(which $0)); pwd)"
 TMP_CONF="$(mktemp)"
 
-PKGMK=$TOPDIR/src/pkgmk
-PKGMK_CONF=$TOPDIR/src/pkgmk.conf
+PKGMK=$TOPDIR/pkgmk
+PKGMK_CONF=$TOPDIR/pkgmk-cross.conf
 PKGMK_ARGS=""
 PKGMK_OPTIMIZE=""
 
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
index 6d21f852dc13f86ec4766b719ff2ead359668123..835190e4bcd5437d933c284e46441a9cb7087e90 100755 (executable)
@@ -4,7 +4,7 @@ TOPDIR="$(cd $(dirname $(which $0)); pwd)"
 
 PKGRM=$TOPDIR/pkgadd
 
-PKGMK_CONF=$TOPDIR/src/pkgmk.conf
+PKGMK_CONF=$TOPDIR/pkgmk-cross.conf
 . $PKGMK_CONF
 
 if [ -z "$CLFS" ]; then