diff options
author | John Mylchreest <johnm@gentoo.org> | 2004-12-06 18:33:11 +0000 |
---|---|---|
committer | John Mylchreest <johnm@gentoo.org> | 2004-12-06 18:33:11 +0000 |
commit | 2f2a7bf154294aa50538b3efa1e69f5f7e5e0004 (patch) | |
tree | fac5c983e2e8b18436487e1c2be243b26a7c1106 /eclass/linux-info.eclass | |
parent | Version bump; cleaned up ebuild and added support for USE=doc. Marked 1.08 st... (diff) | |
download | historical-2f2a7bf154294aa50538b3efa1e69f5f7e5e0004.tar.gz historical-2f2a7bf154294aa50538b3efa1e69f5f7e5e0004.tar.bz2 historical-2f2a7bf154294aa50538b3efa1e69f5f7e5e0004.zip |
Moving get_version to linux-info pkg_setup and calling from linux-mod pkg_setup when needed.
Diffstat (limited to 'eclass/linux-info.eclass')
-rw-r--r-- | eclass/linux-info.eclass | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass index 5b9258e144a8..09a473f2ebb0 100644 --- a/eclass/linux-info.eclass +++ b/eclass/linux-info.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.7 2004/12/05 12:46:58 johnm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.8 2004/12/06 18:33:10 johnm Exp $ # # This eclass provides functions for querying the installed kernel # source version, selected kernel options etc. @@ -8,6 +8,7 @@ ECLASS=linux-info INHERITED="$INHERITED $ECLASS" +EXPORT_FUNCTIONS pkg_setup # Overwritable environment Var's # --------------------------------------- @@ -380,3 +381,11 @@ local DEFLATE die "Kernel doesn't include zlib support" } + +################################ +# Default pkg_setup +# Also used when inheriting linux-mod to force a get_version call + +linux-info_pkg_setup() { + get_version; +} |