diff options
author | Nicholas Jones <carpaski@gentoo.org> | 2003-02-03 14:10:37 +0000 |
---|---|---|
committer | Nicholas Jones <carpaski@gentoo.org> | 2003-02-03 14:10:37 +0000 |
commit | 2b93a6d53c3477d3d31fa1346ddea71a6b4a20f0 (patch) | |
tree | 55e2138ab876b2cfea7870946ae70a8fd1ecd224 /eclass/eutils.eclass | |
parent | Commit of HPPA profile for GMsoft. (diff) | |
download | gentoo-2-2b93a6d53c3477d3d31fa1346ddea71a6b4a20f0.tar.gz gentoo-2-2b93a6d53c3477d3d31fa1346ddea71a6b4a20f0.tar.bz2 gentoo-2-2b93a6d53c3477d3d31fa1346ddea71a6b4a20f0.zip |
Commit for GMsoft for HPPA profile
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r-- | eclass/eutils.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 4ae617014836..9994b1d185ef 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -1,7 +1,7 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # Author: Martin Schlemmer <azarah@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.15 2003/02/02 19:43:33 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.16 2003/02/03 14:10:37 carpaski Exp $ # This eclass is for general purpose functions that most ebuilds # have to implement themselves. # @@ -336,9 +336,9 @@ get_number_of_jobs() { export MAKEOPTS="`echo ${MAKEOPTS} | sed -e 's:-j[0-9]*::g'`" - if [ "${ARCH}" = "x86" ] + if [ "${ARCH}" = "x86" -o "${ARCH}" = "hppa" ] then - # x86 always has "processor" + # x86 and hppa always has "processor" jobs="$((`grep -c ^processor /proc/cpuinfo` * 2))" elif [ "${ARCH}" = "sparc" -o "${ARCH}" = "sparc64" ] |