From b9896ae69c135c241e116135a584e90f0ba71ae9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 27 Jan 2006 00:28:27 +0000 Subject: add an unpack hook for further source control before we run make --- eclass/kernel-2.eclass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-65-gdbad