/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.15 Revision 1.16
1# Copyright 1999-2002 Gentoo Technologies, Inc. 1# Copyright 1999-2002 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# Author: Martin Schlemmer <azarah@gentoo.org> 3# Author: Martin Schlemmer <azarah@gentoo.org>
4# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.15 2003/02/02 19:43:33 azarah Exp $ 4# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.16 2003/02/03 14:10:37 carpaski Exp $
5# This eclass is for general purpose functions that most ebuilds 5# This eclass is for general purpose functions that most ebuilds
6# have to implement themselves. 6# have to implement themselves.
7# 7#
8# NB: If you add anything, please comment it! 8# NB: If you add anything, please comment it!
9 9
334 ADMINPARAM="${ADMINPARAM%% -*}" 334 ADMINPARAM="${ADMINPARAM%% -*}"
335 fi 335 fi
336 336
337 export MAKEOPTS="`echo ${MAKEOPTS} | sed -e 's:-j[0-9]*::g'`" 337 export MAKEOPTS="`echo ${MAKEOPTS} | sed -e 's:-j[0-9]*::g'`"
338 338
339 if [ "${ARCH}" = "x86" ] 339 if [ "${ARCH}" = "x86" -o "${ARCH}" = "hppa" ]
340 then 340 then
341 # x86 always has "processor" 341 # x86 and hppa always has "processor"
342 jobs="$((`grep -c ^processor /proc/cpuinfo` * 2))" 342 jobs="$((`grep -c ^processor /proc/cpuinfo` * 2))"
343 343
344 elif [ "${ARCH}" = "sparc" -o "${ARCH}" = "sparc64" ] 344 elif [ "${ARCH}" = "sparc" -o "${ARCH}" = "sparc64" ]
345 then 345 then
346 # sparc always has "ncpus active" 346 # sparc always has "ncpus active"

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20