cookutils rev 445

cross: use eglibc 2.13 (rpc support is dropped and workaround is needed for 2.15)
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 29 13:42:51 2012 +0000 (2012-05-29)
parents 91b32bc2e34d
children 7a130d01ba39
files cross cross.conf
line diff
     1.1 --- a/cross	Tue May 29 09:29:07 2012 +0000
     1.2 +++ b/cross	Tue May 29 13:42:51 2012 +0000
     1.3 @@ -253,6 +253,18 @@
     1.4  		$EGLIBC_ARGS &&
     1.5  	make || exit 1
     1.6  	make install_root=$sysroot install
     1.7 +	# The rpc headers (RPC is no longer in eglibc <2.13
     1.8 +	#
     1.9 +	#if [ "$EGLIBC_VERSION" -gt "2.13" ]; then
    1.10 +		#rpcsvc = "bootparam_prot.x nlm_prot.x rstat.x \
    1.11 +		#yppasswd.x klm_prot.x rex.x sm_inter.x mount.x \
    1.12 +		#rusers.x spray.x nfs_prot.x rquota.x key_prot.x"
    1.13 +		#cd sunrpc/rpcsvc
    1.14 +		#for r in ${rpcsvc}; do
    1.15 +			#h=`echo $r|sed -e's,\.x$,.h,'`
    1.16 +			#rpcgen -h $r -o $h || oewarn "unable to generate header for $r"
    1.17 +		#done
    1.18 +	#fi
    1.19  }
    1.20  
    1.21  # 5. GCC final
     2.1 --- a/cross.conf	Tue May 29 09:29:07 2012 +0000
     2.2 +++ b/cross.conf	Tue May 29 13:42:51 2012 +0000
     2.3 @@ -12,7 +12,7 @@
     2.4  BINUTILS_VERSION="2.22"
     2.5  LINUX_VERSION="3.2.14"
     2.6  GLIBC_VERSION="2.13"
     2.7 -EGLIBC_VERSION="2.15"
     2.8 +EGLIBC_VERSION="2.13"
     2.9  GCC_VERSION="4.6.3"
    2.10  
    2.11  # Cross-tools tarballs
    2.12 @@ -26,7 +26,7 @@
    2.13  BINUTILS_WGET="http://ftp.gnu.org/gnu/binutils/$BINUTILS_TARBALL"
    2.14  LINUX_WGET="http://www.kernel.org/pub/linux/kernel/v3.x/$LINUX_TARBALL"
    2.15  GLIBC_WGET="http://ftp.gnu.org/gnu/libc/$GLIBC_TARBALL"
    2.16 -EGLIBC_WGET="svn://svn.eglibc.org/branches/eglibc-2_15"
    2.17 +EGLIBC_WGET="svn://svn.eglibc.org/branches/eglibc-2_13"
    2.18  GCC_WGET="http://ftp.gnu.org/gnu/gcc/gcc-$GCC_VERSION/$GCC_TARBALL"
    2.19  
    2.20  # Peer package configure arguments