/[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.97 Revision 1.98
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.97 2010/01/17 03:54:51 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.98 2010/01/17 04:00:07 robbat2 Exp $
4 4
5# Author(s): John Mylchreest <johnm@gentoo.org>, 5# Author(s): John Mylchreest <johnm@gentoo.org>,
6# Stefan Schweizer <genstef@gentoo.org> 6# Stefan Schweizer <genstef@gentoo.org>
7# Maintainer: kernel-misc@gentoo.org 7# Maintainer: kernel-misc@gentoo.org
8# 8#
601# sources. 601# sources.
602linux-mod_pkg_setup_binary() { 602linux-mod_pkg_setup_binary() {
603 debug-print-function ${FUNCNAME} $* 603 debug-print-function ${FUNCNAME} $*
604 local new_CONFIG_CHECK 604 local new_CONFIG_CHECK
605 for config in $CONFIG_CHECK ; do 605 for config in $CONFIG_CHECK ; do
606 optional=${config:0:1} 606 case ${config:0:1} in
607 ~) optional="" ;;
608 *) optional="~" ;;
609 esac
607 new_CONFIG_CHECK="${new_CONFIG_CHECK} ${optional:-~}${config}" 610 new_CONFIG_CHECK="${new_CONFIG_CHECK} ${optional}${config}"
608 done 611 done
609 export CONFIG_CHECK="${new_CONFIG_CHECK}" 612 export CONFIG_CHECK="${new_CONFIG_CHECK}"
610 linux-info_pkg_setup; 613 linux-info_pkg_setup;
611} 614}
612 615

Legend:
Removed from v.1.97  
changed lines
  Added in v.1.98

  ViewVC Help
Powered by ViewVC 1.1.20