From dd0af15d0edfa7d892e704ab01b6025d81ae614e Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 19 Dec 2006 17:22:29 +0000 Subject: [PATCH] debug USE flag now requires CONFIG_DEBUG_FS to be enabled in the kernel. Package-Manager: portage-2.1.2_rc3-r7 --- net-wireless/rt2x00/ChangeLog | 5 ++++- net-wireless/rt2x00/Manifest | 16 ++++++++-------- net-wireless/rt2x00/rt2x00-9999.ebuild | 16 ++++++++++++++-- 3 files changed, 26 insertions(+), 11 deletions(-) diff --git a/net-wireless/rt2x00/ChangeLog b/net-wireless/rt2x00/ChangeLog index 2fb5044b2149..71d50a070846 100644 --- a/net-wireless/rt2x00/ChangeLog +++ b/net-wireless/rt2x00/ChangeLog @@ -1,6 +1,9 @@ # 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.18 2006/11/23 14:53:03 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2x00/ChangeLog,v 1.19 2006/12/19 17:22:29 uberlord Exp $ + + 19 Dec 2006; Roy Marples rt2x00-9999.ebuild: + debug USE flag now requires CONFIG_DEBUG_FS to be enabled in the kernel. 23 Nov 2006; Roy Marples rt2x00-9999.ebuild: Drop the eeprom USE flag and build the module when any pci devices are built. diff --git a/net-wireless/rt2x00/Manifest b/net-wireless/rt2x00/Manifest index d8c1b57b4f09..39bf00d64386 100644 --- a/net-wireless/rt2x00/Manifest +++ b/net-wireless/rt2x00/Manifest @@ -7,14 +7,14 @@ EBUILD rt2x00-2.0.0_beta3.ebuild 2364 RMD160 7d239e4fcf69dd60a981d5e468eb59cf7da MD5 a9ec3d94486babfbf7460a4ba4b9cf64 rt2x00-2.0.0_beta3.ebuild 2364 RMD160 7d239e4fcf69dd60a981d5e468eb59cf7da0f868 rt2x00-2.0.0_beta3.ebuild 2364 SHA256 99a2b3805b2902c0fc1730d55ce0007d4aef86ed22943dbfb35e00f163e6911f rt2x00-2.0.0_beta3.ebuild 2364 -EBUILD rt2x00-9999.ebuild 3776 RMD160 b527850d763cff97ee4984b24dfc87a8afd6b200 SHA1 98eca9a8ccd259a009d96800603692bd6a445a52 SHA256 e97a6947949eb2918249b5f68eced22b4b1f1da420e04306b855f806de2c8c40 -MD5 a0607d24cbf9d3ac8449c2848aa8739f rt2x00-9999.ebuild 3776 -RMD160 b527850d763cff97ee4984b24dfc87a8afd6b200 rt2x00-9999.ebuild 3776 -SHA256 e97a6947949eb2918249b5f68eced22b4b1f1da420e04306b855f806de2c8c40 rt2x00-9999.ebuild 3776 -MISC ChangeLog 3157 RMD160 2581b58b9d5c60ac8a9ce3f1ceba8bf99caa3092 SHA1 513784291395036cb6b724c47654dd645fe41834 SHA256 d10925978c7f0bda3b24f2c02f68dd52881032a513e8f67dcca1be0ea5906087 -MD5 8ddd58cc4867ec4756a27c5883fad975 ChangeLog 3157 -RMD160 2581b58b9d5c60ac8a9ce3f1ceba8bf99caa3092 ChangeLog 3157 -SHA256 d10925978c7f0bda3b24f2c02f68dd52881032a513e8f67dcca1be0ea5906087 ChangeLog 3157 +EBUILD rt2x00-9999.ebuild 4127 RMD160 c669e08ab247f784b70f4a58adb16ff92d57fee7 SHA1 03e681a119510ce075fe40247095f8de40f94ec0 SHA256 72af65df31e6ef7c9dffbb80cffff8a38adbfb0059a4648957e70e16ef0b0e37 +MD5 1c6a82a8b987a38ffac92de3e85d2ad8 rt2x00-9999.ebuild 4127 +RMD160 c669e08ab247f784b70f4a58adb16ff92d57fee7 rt2x00-9999.ebuild 4127 +SHA256 72af65df31e6ef7c9dffbb80cffff8a38adbfb0059a4648957e70e16ef0b0e37 rt2x00-9999.ebuild 4127 +MISC ChangeLog 3302 RMD160 c49ec4026e4847685f87104d43c66804ca7dc357 SHA1 34046d6021db6345447cdf90f77aa3a171b9d3de SHA256 c707a539c2ff714bc1442e285a2a9dabdcacd87bbbc157f2cde35c19f2efdaa9 +MD5 032e83653762386d1561c1fe97641c51 ChangeLog 3302 +RMD160 c49ec4026e4847685f87104d43c66804ca7dc357 ChangeLog 3302 +SHA256 c707a539c2ff714bc1442e285a2a9dabdcacd87bbbc157f2cde35c19f2efdaa9 ChangeLog 3302 MISC metadata.xml 315 RMD160 ea1a3437291c10800cf4b14aff8dc354474dfabf SHA1 9b94dc5449046ada499b5b23e93f90926a70c52c SHA256 a99d2151b06a4dff601057b3b582bac32c80563c7567eee64bf5b59865eb6bd6 MD5 d881dd1c4bfd4e45a852f320b5a973c7 metadata.xml 315 RMD160 ea1a3437291c10800cf4b14aff8dc354474dfabf metadata.xml 315 diff --git a/net-wireless/rt2x00/rt2x00-9999.ebuild b/net-wireless/rt2x00/rt2x00-9999.ebuild index 90894aec0f07..475988c038ab 100644 --- a/net-wireless/rt2x00/rt2x00-9999.ebuild +++ b/net-wireless/rt2x00/rt2x00-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 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.17 2006/11/23 14:53:03 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2x00/rt2x00-9999.ebuild,v 1.18 2006/12/19 17:22:29 uberlord Exp $ inherit linux-mod cvs @@ -52,6 +52,11 @@ pkg_setup() { ERROR_FW_LOADER="${P} requires support for Firmware module loading (CONFIG_FW_LOADER)." fi + if use debug ; then + CONFIG_CHECK="${CONFIG_CHECK} DEBUG_FS" + ERROR_DEBUG_FS="${P} requires Kernel Debug FS support (CONFIG_DEBUG_FS)" + fi + kernel_is lt 2 6 17 && die "${P} requires at least kernel 2.6.17" linux-mod_pkg_setup BUILD_PARAMS="KERNDIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" @@ -80,8 +85,15 @@ src_compile() { # Generate the config file now echo "# Config file generated by portage" > config - MODULE_NAMES="80211(rt2x00:) rc80211_simple(rt2x00:)" + + # Enable the new DEBUGFS module + if use debug ; then + echo "CONFIG_RT2X00_DEBUGFS=y" >> config + echo "CONFIG_RT2X00_DEBUGFS_ASM=${asm}" >> config + MODULE_NAMES="${MODULE_NAMES} rt2x00debug(rt2x00:)" + fi + # RT61 and RT73 require CONFIG_CRC_ITU_T if [[ ${full} == "y" ]] || \ use rt61pci || use rt73usb ; then -- 2.26.2