Re: activate CONFIG_IWLEGACY_DEBUG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 6, 2012 at 9:04 PM, Pedro Francisco
<pedrogfrancisco@xxxxxxxxx> wrote:
> I need to compile the kernel of Fedora 16 with CONFIG_IWLEGACY_DEBUG=y
> (apparently kernel-PAEdebug doesn't activate it).
> (...)
> Do I have to make a patch and change the SPEC to apply the patch to
> the config.mk of the compat-wireless?


Answering myself, yes, change the SPEC to apply a patch to config.mk .

Example below to anyone who may need it in the future:

$ for i in *.patch; do echo $i ; cat $i ;done
iwlegacyDebug-config-mk.patch
diff --git a/config.mk b/config.mk
index 6503ae1..b3d82d4 100644
--- a/config.mk
+++ b/config.mk
@@ -300,8 +300,8 @@ CONFIG_IWLWIFI=m
 CONFIG_IWLEGACY=m
 CONFIG_COMPAT_IWL4965=m
 CONFIG_IWL3945=m
-# CONFIG_IWLEGACY_DEBUG=y
-# CONFIG_IWLEGACY_DEBUGFS=y
+CONFIG_IWLEGACY_DEBUG=y
+CONFIG_IWLEGACY_DEBUGFS=y


 CONFIG_B43=m
iwlegacyDebug-SPEC.patch
diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec
index d59e592..a0ede80 100644
--- a/SPECS/kernel.spec
+++ b/SPECS/kernel.spec
@@ -23,7 +23,7 @@ Summary: The Linux kernel
 #
 # (Uncomment the '#' and both spaces below to set the buildid.)
 #
-# % define buildid .local
+%define buildid .local
 ###################################################################

 # The buildid can also be specified on the rpmbuild command line
@@ -809,6 +809,7 @@ Patch21235:
scsi-sd_revalidate_disk-prevent-NULL-ptr-deref.patch
 Patch50000: compat-wireless-config-fixups.patch
 Patch50001: compat-wireless-pr_fmt-warning-avoidance.patch
 Patch50002: compat-wireless-integrated-build.patch
+Patch50003: iwlegacyDebug.patch
 Patch50100: compat-wireless-rtl8192cu-Fix-WARNING-on-suspend-resume.patch

 # Pending upstream fixes
@@ -1586,6 +1587,7 @@ cd compat-wireless-%{cwversion}
 ApplyPatch compat-wireless-config-fixups.patch
 ApplyPatch compat-wireless-pr_fmt-warning-avoidance.patch
 ApplyPatch compat-wireless-integrated-build.patch
+ApplyPatch iwlegacyDebug.patch

 ApplyPatch compat-wireless-rtl8192cu-Fix-WARNING-on-suspend-resume.patch
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux