diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-02 00:01:05 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-02 00:01:05 +0000 |
commit | 1e5418733e6853a3e0137a2dd915decaa531231f (patch) | |
tree | dc99ad827670b9844a47adfa9c7d81999ef89a79 /eclass | |
parent | touchup style (diff) | |
download | gentoo-2-1e5418733e6853a3e0137a2dd915decaa531231f.tar.gz gentoo-2-1e5418733e6853a3e0137a2dd915decaa531231f.tar.bz2 gentoo-2-1e5418733e6853a3e0137a2dd915decaa531231f.zip |
make the run a little more quiet
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
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 |