/[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.255 Revision 1.256
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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.255 2011/08/08 23:14:56 mpagano Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.256 2011/08/11 14:09:56 mpagano 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# Original author: John Mylchreest <johnm@gentoo.org> 8# Original author: John Mylchreest <johnm@gentoo.org>
68# the doc dir 68# the doc dir
69# UNIPATCH_STRICTORDER - if this is set places patches into directories of 69# UNIPATCH_STRICTORDER - if this is set places patches into directories of
70# order, so they are applied in the order passed 70# order, so they are applied in the order passed
71 71
72inherit eutils toolchain-funcs versionator multilib 72inherit eutils toolchain-funcs versionator multilib
73EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_test src_install pkg_preinst pkg_postinst 73EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_test src_install pkg_preinst pkg_postinst pkg_postrm
74 74
75# Added by Daniel Ostrow <dostrow@gentoo.org> 75# Added by Daniel Ostrow <dostrow@gentoo.org>
76# This is an ugly hack to get around an issue with a 32-bit userland on ppc64. 76# This is an ugly hack to get around an issue with a 32-bit userland on ppc64.
77# I will remove it when I come up with something more reasonable. 77# I will remove it when I come up with something more reasonable.
78[[ ${PROFILE_ARCH} == "ppc64" ]] && CHOST="powerpc64-${CHOST#*-}" 78[[ ${PROFILE_ARCH} == "ppc64" ]] && CHOST="powerpc64-${CHOST#*-}"
1293 1293
1294 ABI="${KERNEL_ABI}" 1294 ABI="${KERNEL_ABI}"
1295 [[ ${ETYPE} == headers ]] && setup_headers 1295 [[ ${ETYPE} == headers ]] && setup_headers
1296 [[ ${ETYPE} == sources ]] && echo ">>> Preparing to unpack ..." 1296 [[ ${ETYPE} == sources ]] && echo ">>> Preparing to unpack ..."
1297} 1297}
1298
1299kernel-2_pkg_postrm() {
1300 echo
1301 ewarn "Note: Even though you have successfully unmerged "
1302 ewarn "your kernel package, directories in kernel source location: "
1303 ewarn "${ROOT}usr/src/linux-${KV_FULL}"
1304 ewarn "with modified files will remain behind. By design, package managers"
1305 ewarn "will not remove these modified files and the directories they reside in."
1306 echo
1307}
1308

Legend:
Removed from v.1.255  
changed lines
  Added in v.1.256

  ViewVC Help
Powered by ViewVC 1.1.20