/[gentoo-x86]/eclass/linux-info.eclass
Gentoo

Diff of /eclass/linux-info.eclass

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

Revision 1.53 Revision 1.54
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 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/linux-info.eclass,v 1.53 2008/01/22 21:05:31 dsd Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.54 2008/01/23 20:58:08 dsd Exp $
4# 4#
5# Description: This eclass is used as a central eclass for accessing kernel 5# Description: This eclass is used as a central eclass for accessing kernel
6# related information for sources already installed. 6# related information for sources already installed.
7# It is vital for linux-mod to function correctly, and is split 7# It is vital for linux-mod to function correctly, and is split
8# out so that any ebuild behaviour "templates" are abstracted out 8# out so that any ebuild behaviour "templates" are abstracted out
366# ebuild check functions 366# ebuild check functions
367# --------------------------------------- 367# ---------------------------------------
368 368
369check_kernel_built() { 369check_kernel_built() {
370 # if we haven't determined the version yet, we need to 370 # if we haven't determined the version yet, we need to
371 require_kernel_config 371 require_configured_kernel
372 get_version 372 get_version
373 373
374 if [ ! -f "${KV_OUT_DIR}/include/linux/version.h" ] 374 if [ ! -f "${KV_OUT_DIR}/include/linux/version.h" ]
375 then 375 then
376 eerror "These sources have not yet been prepared." 376 eerror "These sources have not yet been prepared."

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54

  ViewVC Help
Powered by ViewVC 1.1.20