/[gentoo-x86]/eclass/linux-mod.eclass
Gentoo

Diff of /eclass/linux-mod.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.105 Revision 1.106
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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/linux-mod.eclass,v 1.105 2012/02/25 06:26:14 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.106 2012/08/28 15:28:01 mpagano Exp $
4 4
5# @ECLASS: linux-mod.eclass 5# @ECLASS: linux-mod.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kernel-misc@gentoo.org 7# kernel-misc@gentoo.org
8# @AUTHOR: 8# @AUTHOR:
221 get_version; 221 get_version;
222 222
223 ebegin "Updating module dependencies for ${KV_FULL}" 223 ebegin "Updating module dependencies for ${KV_FULL}"
224 if [ -r "${KV_OUT_DIR}"/System.map ] 224 if [ -r "${KV_OUT_DIR}"/System.map ]
225 then 225 then
226 depmod -ae -F "${KV_OUT_DIR}"/System.map -b "${ROOT}" -r ${KV_FULL} 226 depmod -ae -F "${KV_OUT_DIR}"/System.map -b "${ROOT}" ${KV_FULL}
227 eend $? 227 eend $?
228 else 228 else
229 ewarn 229 ewarn
230 ewarn "${KV_OUT_DIR}/System.map not found." 230 ewarn "${KV_OUT_DIR}/System.map not found."
231 ewarn "You must manually update the kernel module dependencies using depmod." 231 ewarn "You must manually update the kernel module dependencies using depmod."

Legend:
Removed from v.1.105  
changed lines
  Added in v.1.106

  ViewVC Help
Powered by ViewVC 1.1.20