From: Mike Frysinger Date: Wed, 2 Nov 2005 00:01:05 +0000 (+0000) Subject: make the run a little more quiet X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=030c34e4b3dec80a9c36026fa573528b3c7b957d;p=gentoo.git make the run a little more quiet --- diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index ddd173f7b34f..bc55c3bb47f4 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.150 2005/10/13 15:13:14 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.151 2005/11/02 00:01:05 vapier Exp $ # Description: kernel.eclass rewrite for a clean base regarding the 2.6 # series of kernel with back-compatibility for 2.4 @@ -294,9 +294,9 @@ unpack_2_4() { # When cross-compiling, we need to set the ARCH/CROSS_COMPILE # variables properly or bad things happen ! local xmakeopts="ARCH=${KARCH}" - if [[ ${CTARGET} != ${CHOST} ]]; then + if [[ ${CTARGET} != ${CHOST} ]] ; then xmakeopts="${xmakeopts} CROSS_COMPILE=${CTARGET}-" - elif type -p ${CHOST}-ar; then + elif type -p ${CHOST}-ar > /dev/null ; then xmakeopts="${xmakeopts} CROSS_COMPILE=${CHOST}-" fi