summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-27 00:28:27 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-27 00:28:27 +0000
commit44c3d9aa31869175e455251e650ea5f72b93b2aa (patch)
tree6ded60fb38b6ce606426a30c8e0f1a77f7b8d4bb /eclass
parentFixed broken PN (diff)
downloadgentoo-2-44c3d9aa31869175e455251e650ea5f72b93b2aa.tar.gz
gentoo-2-44c3d9aa31869175e455251e650ea5f72b93b2aa.tar.bz2
gentoo-2-44c3d9aa31869175e455251e650ea5f72b93b2aa.zip
add an unpack hook for further source control before we run make
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 531100e1cf36..bb46817d4b4b 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.156 2006/01/20 00:57:22 gregkh Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.157 2006/01/27 00:28:27 vapier Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -957,6 +957,10 @@ kernel-2_src_unpack() {
[[ -n ${UNIPATCH_LIST} || -n ${UNIPATCH_LIST_DEFAULT} || -n ${UNIPATCH_LIST_GENPATCHES} ]] && \
unipatch "${UNIPATCH_LIST_DEFAULT} ${UNIPATCH_LIST_GENPATCHES} ${UNIPATCH_LIST}"
+ # allow ebuilds to massage the source tree after patching but before
+ # we run misc `make` functions below
+ type kernel-2_hook_premake > /dev/null && kernel-2_hook_premake
+
[[ -z ${K_NOSETEXTRAVERSION} ]] && unpack_set_extraversion
unpack_fix_docbook
unpack_fix_install_path