summaryrefslogtreecommitdiff
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
commitb9896ae69c135c241e116135a584e90f0ba71ae9 (patch)
treeaf4ffa5b235512fb3d0ac8f73345700c23981608
parentFixed broken PN (diff)
downloadhistorical-b9896ae69c135c241e116135a584e90f0ba71ae9.tar.gz
historical-b9896ae69c135c241e116135a584e90f0ba71ae9.tar.bz2
historical-b9896ae69c135c241e116135a584e90f0ba71ae9.zip
add an unpack hook for further source control before we run make
-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