/[gentoo-x86]/eclass/kernel-2.eclass
Gentoo

Diff of /eclass/kernel-2.eclass

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

Revision 1.151 Revision 1.152
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
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# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.151 2005/11/02 00:01:05 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.152 2005/11/11 02:33:50 vapier Exp $
4 4
5# Description: kernel.eclass rewrite for a clean base regarding the 2.6 5# Description: kernel.eclass rewrite for a clean base regarding the 2.6
6# series of kernel with back-compatibility for 2.4 6# series of kernel with back-compatibility for 2.4
7# 7#
8# Maintainer: John Mylchreest <johnm@gentoo.org> 8# Maintainer: John Mylchreest <johnm@gentoo.org>
373 fi 373 fi
374 374
375 if kernel_is 2 4; then 375 if kernel_is 2 4; then
376 yes "" | make oldconfig ${xmakeopts} 376 yes "" | make oldconfig ${xmakeopts}
377 echo ">>> make oldconfig complete" 377 echo ">>> make oldconfig complete"
378 use sparc && make dep ${xmakeopts} 378 make dep ${xmakeopts}
379 elif kernel_is 2 6; then 379 elif kernel_is 2 6; then
380 # autoconf.h isnt generated unless it already exists. plus, we have 380 # autoconf.h isnt generated unless it already exists. plus, we have
381 # no guarantee that any headers are installed on the system... 381 # no guarantee that any headers are installed on the system...
382 [[ -f ${ROOT}/usr/include/linux/autoconf.h ]] \ 382 [[ -f ${ROOT}/usr/include/linux/autoconf.h ]] \
383 || touch include/linux/autoconf.h 383 || touch include/linux/autoconf.h

Legend:
Removed from v.1.151  
changed lines
  Added in v.1.152

  ViewVC Help
Powered by ViewVC 1.1.20