/[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.57 Revision 1.58
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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.57 2004/11/29 12:42:21 johnm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.58 2004/11/29 13:44:31 johnm 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>
49 49
50HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" 50HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/"
51LICENSE="GPL-2" 51LICENSE="GPL-2"
52IUSE="${IUSE} build doc" 52IUSE="${IUSE} build doc"
53SLOT="${PV}" 53SLOT="${PV}"
54
55# Grab kernel version from KV_FULL
56KV_MAJOR=$(echo ${KV_FULL} | cut -d. -f1)
57KV_MINOR=$(echo ${KV_FULL} | cut -d. -f2)
58KV_PATCH=$(echo ${KV_FULL} | cut -d. -f3-)
59KV_PATCH=${KV_PATCH/[-_]*/}
60 54
61# set LINUX_HOSTCFLAGS if not already set 55# set LINUX_HOSTCFLAGS if not already set
62[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -Os -fomit-frame-pointer -I${S}/include" 56[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -Os -fomit-frame-pointer -I${S}/include"
63 57
64#Eclass functions only from here onwards ... 58#Eclass functions only from here onwards ...

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58

  ViewVC Help
Powered by ViewVC 1.1.20