diff options
author | Roy Marples <uberlord@gentoo.org> | 2007-02-25 15:47:48 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2007-02-25 15:47:48 +0000 |
commit | f2615284d40309a0df4b3120161a7c343c99653e (patch) | |
tree | 2dce7a0cc3e244940866e3398944f49cea6dcf4d /net-wireless/rt2x00 | |
parent | remove broken versions (diff) | |
download | gentoo-2-f2615284d40309a0df4b3120161a7c343c99653e.tar.gz gentoo-2-f2615284d40309a0df4b3120161a7c343c99653e.tar.bz2 gentoo-2-f2615284d40309a0df4b3120161a7c343c99653e.zip |
Added ebuild patch from Ivo van Doorn <ivdoorn@gmail.com> to work with CVS changes
(Portage version: 2.1.2-r11)
Diffstat (limited to 'net-wireless/rt2x00')
-rw-r--r-- | net-wireless/rt2x00/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/rt2x00/rt2x00-9999.ebuild | 25 |
2 files changed, 23 insertions, 10 deletions
diff --git a/net-wireless/rt2x00/ChangeLog b/net-wireless/rt2x00/ChangeLog index 71d50a070846..ea22a8a5d4b7 100644 --- a/net-wireless/rt2x00/ChangeLog +++ b/net-wireless/rt2x00/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-wireless/rt2x00 -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2x00/ChangeLog,v 1.19 2006/12/19 17:22:29 uberlord Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2x00/ChangeLog,v 1.20 2007/02/25 15:47:48 uberlord Exp $ + + 25 Feb 2007; Roy Marples <uberlord@gentoo.org> rt2x00-9999.ebuild: + Added ebuild patch from Ivo van Doorn <ivdoorn@gmail.com> to work with CVS + changes 19 Dec 2006; Roy Marples <uberlord@gentoo.org> rt2x00-9999.ebuild: debug USE flag now requires CONFIG_DEBUG_FS to be enabled in the kernel. diff --git a/net-wireless/rt2x00/rt2x00-9999.ebuild b/net-wireless/rt2x00/rt2x00-9999.ebuild index 475988c038ab..c895343504d1 100644 --- a/net-wireless/rt2x00/rt2x00-9999.ebuild +++ b/net-wireless/rt2x00/rt2x00-9999.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2x00/rt2x00-9999.ebuild,v 1.18 2006/12/19 17:22:29 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2x00/rt2x00-9999.ebuild,v 1.19 2007/02/25 15:47:48 uberlord Exp $ inherit linux-mod cvs @@ -87,10 +87,15 @@ src_compile() { echo "# Config file generated by portage" > config MODULE_NAMES="80211(rt2x00:) rc80211_simple(rt2x00:)" + # Enable the rt2x00lib module + echo "CONFIG_RT2X00=y" >> config + echo "CONFIG_RT2X00_ASM=${asm}" >> config + MODULE_NAMES="${MODULE_NAMES} rt2x00lib(rt2x00:)" + # Enable the new DEBUGFS module if use debug ; then + echo "CONFIG_RT2X00_DEBUG=y" >> config echo "CONFIG_RT2X00_DEBUGFS=y" >> config - echo "CONFIG_RT2X00_DEBUGFS_ASM=${asm}" >> config MODULE_NAMES="${MODULE_NAMES} rt2x00debug(rt2x00:)" fi @@ -98,6 +103,7 @@ src_compile() { if [[ ${full} == "y" ]] || \ use rt61pci || use rt73usb ; then echo "CONFIG_CRC_ITU_T=y" >> config + echo "CONFIG_CRC_ITU_T_ASM=${asm}" >> config MODULE_NAMES="${MODULE_NAMES} crc-itu-t(rt2x00:)" fi @@ -108,22 +114,25 @@ src_compile() { MODULE_NAMES="${MODULE_NAMES} eeprom_93cx6(rt2x00:)" fi - for m in d80211 ${IUSE_RT2X00_EXTRA} ${IUSE_RT2X00_DEVICES} ; do + for m in ${IUSE_RT2X00_EXTRA} ${IUSE_RT2X00_DEVICES} ; do local yn="n" M=$(echo "${m}" | tr '[:lower:]' '[:upper:]') - if [[ ${m} == "d80211" || ${full} == "y" ]] || use "${m}" ; then + if [[ ${full} == "y" ]] || use "${m}" ; then yn="y" fi echo "CONFIG_${M}=${yn}" >> config - echo "CONFIG_${M}_ASM=${asm}" >> config - echo "CONFIG_${M}_DEBUG=${debug}" >> config echo "CONFIG_${M}_BUTTON=${button}" >> config - if [[ ${m} != "d80211" && ${yn} == "y" ]] ; then + if [[ ${yn} == "y" ]] ; then MODULE_NAMES="${MODULE_NAMES} ${m}(rt2x00:)" fi done + # D80211 module + echo "CONFIG_D80211=y" >> config + echo "CONFIG_D80211_DEBUG=${debug}" >> config + echo "CONFIG_D80211_ASM=${asm}" >> config + linux-mod_src_compile } |