/[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.22 Revision 1.23
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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.22 2005/01/16 22:54:56 johnm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.23 2005/01/16 23:53:00 johnm Exp $
4 4
5# Description: This eclass is used to interface with linux-info in such a way 5# Description: This eclass is used to interface with linux-info in such a way
6# to provide the functionality required and initial functions 6# to provide the functionality required and initial functions
7# required to install external modules against a kernel source 7# required to install external modules against a kernel source
8# tree. 8# tree.
241 then 241 then
242 einfo "If you would like to load this module automatically upon boot" 242 einfo "If you would like to load this module automatically upon boot"
243 einfo "please type the following as root:" 243 einfo "please type the following as root:"
244 for i in ${MODULE_NAMES} 244 for i in ${MODULE_NAMES}
245 do 245 do
246 unset libdir srcdir objdir
246 for n in $(find_module_params ${i}) 247 for n in $(find_module_params ${i})
247 do 248 do
248 eval ${n/:*}=${n/*:/} 249 eval ${n/:*}=${n/*:/}
249 done 250 done
250 einfo " # echo \"${modulename}\" >> ${file}" 251 einfo " # echo \"${modulename}\" >> ${file}"
314 MODULE_NAMES=${MODULE_NAMES//${i}(*} 315 MODULE_NAMES=${MODULE_NAMES//${i}(*}
315 done 316 done
316 317
317 for i in ${MODULE_NAMES} 318 for i in ${MODULE_NAMES}
318 do 319 do
320 unset libdir srcdir objdir
319 for n in $(find_module_params ${i}) 321 for n in $(find_module_params ${i})
320 do 322 do
321 eval ${n/:*}=${n/*:/} 323 eval ${n/:*}=${n/*:/}
322 done 324 done
323 libdir=${libdir:-misc} 325 libdir=${libdir:-misc}
353 MODULE_NAMES=${MODULE_NAMES//${i}(*} 355 MODULE_NAMES=${MODULE_NAMES//${i}(*}
354 done 356 done
355 357
356 for i in ${MODULE_NAMES} 358 for i in ${MODULE_NAMES}
357 do 359 do
360 unset libdir srcdir objdir
358 for n in $(find_module_params ${i}) 361 for n in $(find_module_params ${i})
359 do 362 do
360 eval ${n/:*}=${n/*:/} 363 eval ${n/:*}=${n/*:/}
361 done 364 done
362 libdir=${libdir:-misc} 365 libdir=${libdir:-misc}

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

  ViewVC Help
Powered by ViewVC 1.1.20