# HG changeset patch # User Christophe Lincoln # Date 1306447237 -7200 # Node ID f2d28fcaaa1c85567702eea889910f9ff6408a0b # Parent 8ce80da325d94eee7a54eaec9fed79c8be746814 cross-arm-*: remove pkgs (will be for 5.0) diff -r 8ce80da325d9 -r f2d28fcaaa1c cross-arm-binutils/receipt --- a/cross-arm-binutils/receipt Thu May 26 23:57:08 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,46 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="cross-arm-binutils" -VERSION="2.21" -CATEGORY="system-tools" -SHORT_DESC="Cross compilation linker targeting ARM platform." -MAINTAINER="pankso@slitaz.org" -SOURCE="binutils" -WEB_SITE="http://www.gnu.org/software/binutils/" -TARBALL="$SOURCE-$VERSION.tar.bz2" -WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" - -DEPENDS="" -BUILD_DEPENDS="slitaz-toolchain" - -# The goal here is to build an ARM cross toolchain who we let build code for -# the target arch from an i486 build/host. To build a cross toolchain we use -# the native i486 GCC compiler so set --build and --host to HOST_SYSTEM. -CROSS_TARGET="arm-slitaz-linux" -CROSS_TRIPLET="--build=$HOST_SYSTEM --host=$HOST_SYSTEM --target=$CROSS_TARGET" - -# CFLAGS and CXXFLAGS must not be set during the building of cross-tools. -unset CFLAGS CXXFLAGS - -# Rules to configure and make the package. -compile_rules() -{ - cd $src - mkdir -p ../build && cd ../build - $src/configure \ - --program-prefix="$CROSS_TARGET-" \ - --disable-multilib \ - --disable-nls \ - $CROSS_TRIPLET && - make configure-host && - make tooldir=/usr && - make tooldir=/usr install -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin $fs/usr/lib - cp -a $install/usr/bin/$CROSS_TARGET-* $fs/usr/bin - cp -a $install/usr/lib/ldscripts $fs/usr/lib -} diff -r 8ce80da325d9 -r f2d28fcaaa1c cross-arm-gcc/receipt --- a/cross-arm-gcc/receipt Thu May 26 23:57:08 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,49 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="cross-arm-gcc" -VERSION="4.5.2" -CATEGORY="system-tools" -SHORT_DESC="Cross compiler for targeting ARM platform." -MAINTAINER="pankso@slitaz.org" -SOURCE="gcc-core" -WEB_SITE="http://www.gnu.org/software/binutils/" -TARBALL="$SOURCE-$VERSION.tar.bz2" -WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" - -DEPENDS="cross-arm-binutils mpc-library" -BUILD_DEPENDS="slitaz-toolchain cross-arm-binutils gmp gmp-dev mpfr mpfr-dev \ -mpc-library" - -# The goal here is to build an ARM cross toolchain who we let build code for -# the target arch from an i486 build/host. To build a cross toolchain we use -# the native i486 GCC compiler so set --build and --host to HOST_SYSTEM. -CROSS_TARGET="arm-slitaz-linux" -CROSS_TRIPLET="--build=$HOST_SYSTEM --host=$HOST_SYSTEM --target=$CROSS_TARGET" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src - mkdir -p ../build && cd ../build - $src/configure \ - --libexecdir=/usr/lib \ - --disable-nls \ - --disable-threads \ - --disable-multilib \ - --disable-bootstarp \ - --enable-languages=c \ - --with-cpu=arm9 \ - $CROSS_TRIPLET && - make \ - AS_FOR_TARGET=$CROSS_TARGET-as \ - LD_FOR_TARGET=$CROSS_TARGET-ld && - make install -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib $fs/usr -}