Go to file
Chuck Ebbert 1ca726dd20 dccp: fix oops on Reset after close (CVE-2011-1093) 2011-05-03 04:22:50 -04:00
scripts Restore README.txt, scripts. 2010-08-01 16:02:27 -04:00
.gitignore copy .gitignore from f14 2010-07-31 16:40:38 -04:00
Makefile ditto from every other branch 2010-11-26 11:41:06 -05:00
Makefile.config initial srpm import 2010-07-29 17:19:53 -07:00
README.txt Restore README.txt, scripts. 2010-08-01 16:02:27 -04:00
acpi-ec-add-delay-before-write.patch initial srpm import 2010-07-29 17:19:53 -07:00
acpi-ec-pm-fix-race-between-ec-transactions-and-system-suspend.patch acpi-ec-pm-fix-race-between-ec-transactions-and-system-suspend.patch 2010-09-03 23:35:20 -04:00
add-appleir-usb-driver.patch initial srpm import 2010-07-29 17:19:53 -07:00
agp-fix-arbitrary-kernel-memory-writes.patch AGP security fixes 2011-04-29 13:02:25 -04:00
agp-fix-oom-and-buffer-overflow.patch AGP security fixes 2011-04-29 13:02:25 -04:00
agp-intel-use-the-correct-mask-to-detect-i830-aperture-size.patch Fix AGP aperture size detection on Intel G33/Q35 chipsets (#629203) 2010-09-20 08:17:37 -04:00
bluetooth-bnep-fix-buffer-overflow.patch Bluetooth: bnep: fix buffer overflow (CVE-2011-1079) 2011-04-29 07:39:14 -04:00
bridge-fix-mglist-corruption-that-leads-to-memory-corruption.patch bridge: Fix mglist corruption that leads to memory corruption (#650151) 2011-02-12 11:06:04 -05:00
btrfs-prohibit-a-operation-of-changing-acls-mask-when-noacl-mount-option-is-used.patch initial srpm import 2010-07-29 17:19:53 -07:00
config-arm initial srpm import 2010-07-29 17:19:53 -07:00
config-debug initial srpm import 2010-07-29 17:19:53 -07:00
config-generic Linux 2.6.34.9 2011-04-18 10:41:31 -04:00
config-i686-PAE Re-enable I2O, but only for 32-bit x86 (#629676) 2010-09-03 05:23:00 -04:00
config-ia64-generic initial srpm import 2010-07-29 17:19:53 -07:00
config-nodebug initial srpm import 2010-07-29 17:19:53 -07:00
config-powerpc-generic initial srpm import 2010-07-29 17:19:53 -07:00
config-powerpc32-generic initial srpm import 2010-07-29 17:19:53 -07:00
config-powerpc32-smp initial srpm import 2010-07-29 17:19:53 -07:00
config-powerpc64 initial srpm import 2010-07-29 17:19:53 -07:00
config-rhel-generic initial srpm import 2010-07-29 17:19:53 -07:00
config-s390x initial srpm import 2010-07-29 17:19:53 -07:00
config-sparc64-generic initial srpm import 2010-07-29 17:19:53 -07:00
config-x86-generic Re-enable I2O, but only for 32-bit x86 (#629676) 2010-09-03 05:23:00 -04:00
config-x86_64-generic enable hpilo.ko on x86_64 2010-12-03 07:06:19 -05:00
cred-dont-resurrect-dead-credentials.patch Don't resurrect dead task credentials (#591015) 2010-08-04 10:07:30 -04:00
crypto-add-async-hash-testing.patch initial srpm import 2010-07-29 17:19:53 -07:00
dccp-fix-oops-on-reset-after-close.patch dccp: fix oops on Reset after close (CVE-2011-1093) 2011-05-03 04:22:50 -04:00
dell-wmi-add-support-for-eject-key.patch Add support for eject key on Dell laptops (#513530) 2010-09-03 07:53:46 -04:00
die-floppy-die.patch initial srpm import 2010-07-29 17:19:53 -07:00
direct-io-move-aio_complete-into-end_io.patch Fix "ext4 and xfs wrong data returned on read after write if 2010-08-04 10:52:15 -04:00
disable-i8042-check-on-apple-mac.patch initial srpm import 2010-07-29 17:19:53 -07:00
dmar-disable-when-ricoh-multifunction.patch dmar: print a useful message when quirking iommu off 2010-10-18 22:44:09 -04:00
drivers-hwmon-coretemp-c-detect-the-thermal-sensors-by-cpuid.patch drivers-hwmon-coretemp-c-detect-the-thermal-sensors-by-cpuid.patch (#625734) 2010-08-27 04:37:28 -04:00
drm-encoder-disable.patch initial srpm import 2010-07-29 17:19:53 -07:00
drm-hold-the-mutex-when-dropping-the-last-gem-reference-v2.patch Fix crash when dropping filesystem caches (#649871) 2011-02-24 14:12:44 -05:00
drm-i915-explosion-following-oom-in-do_execbuffer.patch drm-i915-explosion-following-oom-in-do_execbuffer 2010-09-09 13:07:50 -04:00
drm-i915-fix-edp-panels.patch initial srpm import 2010-07-29 17:19:53 -07:00
drm-i915-sanity-check-pread-pwrite.patch CVE-2010-2962: arbitrary kernel memory write via i915 GEM ioctl 2010-12-10 14:47:45 -05:00
drm-intel-big-hammer.patch initial srpm import 2010-07-29 17:19:53 -07:00
drm-intel-fix-sandybridge.patch backport sandybridge 'fixes' from 2.6.35.y 2011-02-14 19:13:42 -05:00
drm-intel-make-lvds-work.patch initial srpm import 2010-07-29 17:19:53 -07:00
drm-intel-next.patch initial srpm import 2010-07-29 17:19:53 -07:00
drm-next.patch Linux 2.6.34.9 2011-04-18 10:41:31 -04:00
drm-nouveau-acpi-edid-fix.patch nouveau: fix oops in acpi edid support 2010-09-13 09:05:15 +10:00
drm-nouveau-ibdma-race.patch nouveau: fix potential dma race 2010-09-30 13:14:32 +10:00
drm-nouveau-nv50-crtc-update-delay.patch nouveau: fix for rhbz#614452 2010-08-17 14:26:43 +10:00
drm-nouveau-nva3-noaccel.patch nouveau: disable accel on nva3/nva5/nva8 2010-08-10 10:04:12 +10:00
drm-nouveau-pusher-intr.patch nouveau: handle certain GPU errors better 2010-09-27 12:42:06 +10:00
drm-nouveau-race-fix.patch nouveau: fix inter-engine race 2010-08-06 08:26:19 +10:00
drm-nouveau-updates.patch nouveau: rhbz#596562, eDP HPD issue 2010-08-23 10:09:17 +10:00
drm-radeon-kms-mc-vram-map-needs-to-be-gteq-pci-aperature.patch drm/radeon/kms: MC vram map needs to be >= pci aperture size (#632310) 2010-12-09 12:52:01 -05:00
drm-radeon-resume-fixes.patch - fix radeon suspend/resume issues and two other minor patches 2010-09-02 21:54:38 +10:00
drm-revert-drm-fbdev-rework-output-polling-to-be-back-in-core.patch initial srpm import 2010-07-29 17:19:53 -07:00
ext4-move-aio-completion-after-unwritten-extent-conversion.patch Fix "ext4 and xfs wrong data returned on read after write if 2010-08-04 10:52:15 -04:00
find-provides initial srpm import 2010-07-29 17:19:53 -07:00
fix_xen_guest_on_old_EC2.patch initial srpm import 2010-07-29 17:19:53 -07:00
flexcop-fix-xlate_proc_name-warning.patch fix flexcop module register retardo names 2010-09-03 16:46:09 -04:00
fs-call-security_d_instantiate-in-d_obtain_alias.patch fs-call-security_d_instantiate-in-d_obtain_alias (#662344) 2010-12-18 10:58:03 -05:00
genkey initial srpm import 2010-07-29 17:19:53 -07:00
git-bluetooth.patch initial srpm import 2010-07-29 17:19:53 -07:00
git-cpufreq.patch initial srpm import 2010-07-29 17:19:53 -07:00
git-linus.diff initial srpm import 2010-07-29 17:19:53 -07:00
hda_intel-prealloc-4mb-dmabuffer.patch initial srpm import 2010-07-29 17:19:53 -07:00
hdpvr-ir-enable.patch initial srpm import 2010-07-29 17:19:53 -07:00
hostap_cs-fix-sleeping-function-called-from-invalid-context.patch Revert "hostap_cs-fix-sleeping-function-called-from-invalid-context.patch" 2011-01-31 12:29:52 -05:00
i915-fix-crt-hotplug-regression.patch initial srpm import 2010-07-29 17:19:53 -07:00
ima-allow-it-to-be-completely-disabled-and-default-off.patch allow ima to be opt-in like in f14 2010-11-29 22:22:51 -05:00
inet_diag-make-sure-we-run-the-same-bytecode-we-audited.patch fix logic error in INET_DIAG bytecode auditing (CVE-2010-3880) 2010-11-23 11:14:11 -05:00
input-synaptics-relax-capability-id-checks-on-new-hardware.patch initial srpm import 2010-07-29 17:19:53 -07:00
iwlwifi-Recover-TX-flow-failure.patch initial srpm import 2010-07-29 17:19:53 -07:00
iwlwifi-add-internal-short-scan-support-for-3945.patch initial srpm import 2010-07-29 17:19:53 -07:00
iwlwifi-code-cleanup-for-connectivity-recovery.patch initial srpm import 2010-07-29 17:19:53 -07:00
iwlwifi-iwl_good_ack_health-only-apply-to-AGN-device.patch initial srpm import 2010-07-29 17:19:53 -07:00
iwlwifi-manage-QoS-by-mac-stack.patch initial srpm import 2010-07-29 17:19:53 -07:00
iwlwifi-move-plcp-check-to-separated-function.patch initial srpm import 2010-07-29 17:19:53 -07:00
kernel.spec dccp: fix oops on Reset after close (CVE-2011-1093) 2011-05-03 04:22:50 -04:00
kprobes-x86-fix-kprobes-to-skip-prefixes-correctly.patch kprobes-x86-fix-kprobes-to-skip-prefixes-correctly.patch (#610941) 2010-08-27 04:41:49 -04:00
kvm-mmu-fix-conflict-access-permissions-in-direct-sp.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-acpi-fix-alias.patch - linux-2.6-acpi-fix-alias.patch: fix ACPI object aliasing (#608648) 2011-02-09 12:12:47 -05:00
linux-2.6-acpi-video-dos.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-acpi-video-export-edid.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-bonding-sysfs-warning.patch Resolves: bz 604630 2010-10-06 11:02:54 -04:00
linux-2.6-build-nonintconfig.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-cantiga-iommu-gfx.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-compile-fixes.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-crash-driver.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-debug-always-inline-kzalloc.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-debug-nmi-timeout.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-debug-sizeof-structs.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-debug-taint-vm.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-debug-vm-would-have-oomkilled.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-defaults-acpi-pci_no_crs.patch default to pci=nocrs 2010-09-03 16:21:51 -04:00
linux-2.6-defaults-acpi-video.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-defaults-no-pm-async.patch Disable asynchronous suspend, a new feature in 2.6.34 2010-09-04 11:41:11 -04:00
linux-2.6-defaults-pci_no_msi.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-driver-level-usb-autosuspend.diff initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-enable-btusb-autosuspend.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-execshield.patch Linux 2.6.34.6-rc1 2010-08-25 09:07:00 -04:00
linux-2.6-firewire-git-pending.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-firewire-git-update.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-fix-btusb-autosuspend.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-hotfixes.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-input-hid-quirk-egalax.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-input-kill-stupid-messages.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-intel-iommu-igfx.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-makefile-after_link.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-phylib-autoload.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-selinux-mprotect-checks.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-serial-460800.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-silence-acpi-blacklist.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-silence-fbcon-logo.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-silence-noise.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-sparc-selinux-mprotect-checks.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-tracehook.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-twsock-rcu-lockdep-warn.patch Resoves bz 642905 2010-10-14 14:33:04 -04:00
linux-2.6-umh-refactor.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-upstream-reverts.patch Linux 2.6.34.9 2011-04-18 10:41:31 -04:00
linux-2.6-usb-uvc-autosuspend.diff initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-usb-wwan-update.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-utrace-ptrace.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-utrace.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-v4l-dvb-add-kworld-a340-support.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-v4l-dvb-add-lgdt3304-support.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-v4l-dvb-experimental.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-v4l-dvb-fixes.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-v4l-dvb-gspca-fixes.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-v4l-dvb-update.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-v4l-dvb-uvcvideo-update.patch * Sun Aug 01 2010 Chuck Ebbert <cebbert@redhat.com> 2.6.34.2-32.rc1 2010-08-02 02:50:42 -04:00
linux-2.6-vio-modalias.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-x86-cfi_sections.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6.29-sparc-IOC_TYPECHECK.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6.30-no-pcspkr-modalias.patch initial srpm import 2010-07-29 17:19:53 -07:00
lirc-2.6.33.patch lirc: restore patch from 2.6.33.x F13 kernels 2010-09-05 12:40:37 -04:00
mac80211-explicitly-disable-enable-QoS.patch initial srpm import 2010-07-29 17:19:53 -07:00
merge.pl initial srpm import 2010-07-29 17:19:53 -07:00
mmc-SDHCI_INT_DATA_MASK-typo-error.patch ricoh e822 sdhci support 2010-10-18 22:43:38 -04:00
mmc-add-ricoh-e822-pci-id.patch ricoh e822 sdhci support 2010-10-18 22:43:38 -04:00
mmc-make-sdhci-work-with-ricoh-mmc-controller.patch ricoh e822 sdhci support 2010-10-18 22:43:38 -04:00
netlink-make-nlmsg_find_attr-take-a-const-ptr.patch quiet a build warning the INET_DIAG fix caused 2010-11-26 15:17:29 -05:00
neuter_intel_microcode_load.patch initial srpm import 2010-07-29 17:19:53 -07:00
nfs-fix-an-oops-in-the-nfsv4-atomic-open-code.patch From 2.6.35.4: nfs-fix-an-oops-in-the-nfsv4-atomic-open-code.patch 2010-09-04 06:32:45 -04:00
patch-2.6.38-afpacket-vmalloc.patch Enhance AF_PACKET to support using non-contiguous memory when allocating ring 2010-12-17 13:35:36 -05:00
pci-acpi-disable-aspm-if-no-osc.patch initial srpm import 2010-07-29 17:19:53 -07:00
pci-aspm-dont-enable-too-early.patch initial srpm import 2010-07-29 17:19:53 -07:00
pci-change-error-messages-to-kern-info.patch initial srpm import 2010-07-29 17:19:53 -07:00
pci-fall-back-to-original-bios-bar-addresses.patch initial srpm import 2010-07-29 17:19:53 -07:00
perf initial srpm import 2010-07-29 17:19:53 -07:00
prevent-runtime-conntrack-changes.patch initial srpm import 2010-07-29 17:19:53 -07:00
quiet-prove_RCU-in-cgroups.patch Linux 2.6.34.8 2011-02-05 10:38:36 -05:00
r8169-01-incorrect-identifier-for-a-8168dp.patch r8169 fixes from sgruszka@redhat.com 2010-11-26 11:40:07 -05:00
r8169-02-fix-rx-checksum-offload.patch r8169 fixes from sgruszka@redhat.com 2010-11-26 11:40:07 -05:00
r8169-03-_re_init-phy-on-resume.patch r8169 fixes from sgruszka@redhat.com 2010-11-26 11:40:07 -05:00
r8169-04-fix-broken-checksum-for-invalid-sctp_igmp-packets.patch r8169 fixes from sgruszka@redhat.com 2010-11-26 11:40:07 -05:00
revert-drm-kms-toggle-poll-around-switcheroo.patch initial srpm import 2010-07-29 17:19:53 -07:00
rt2x00-disable-auto-wakeup-before-waking-up-device.patch fix some tpm, rt2x00, and an rds security vulnerability 2010-10-22 10:43:01 -04:00
rt2x00-fix-failed-SLEEP-AWAKE-and-AWAKE-SLEEP-transitions.patch fix some tpm, rt2x00, and an rds security vulnerability 2010-10-22 10:43:01 -04:00
rtl8180-improve-signal-reporting-for-actual-rtl8180-hardware.patch rtl8180: improve signal reporting for rtl8185 hardware 2010-11-24 10:54:37 -05:00
rtl8180-improve-signal-reporting-for-rtl8185-hardware.patch rtl8180: improve signal reporting for rtl8185 hardware 2010-11-24 10:54:37 -05:00
scm-lower-SCM-MAX-FD.patch CVE-2010-4249 unix socket local dos 2010-12-14 08:54:54 -05:00
scsi-mpt2sas-prevent-heap-overflows-and-unchecked-reads.patch [SCSI] mpt2sas: prevent heap overflows and unchecked reads 2011-05-02 10:32:03 -04:00
sdhci-8-bit-data-transfer-width-support.patch ricoh e822 sdhci support 2010-10-18 22:43:38 -04:00
sources Linux 2.6.34.9 2011-04-18 10:41:31 -04:00
ssb_check_for_sprom.patch initial srpm import 2010-07-29 17:19:53 -07:00
sunrpc-kernel-panic-when-mount-nfsv4.patch Copy sunrpc oops fix from F14 2011-01-30 22:46:59 -05:00
tcp-protect-sysctl_tcp_cookie_size-reads.patch TCP networking fixes from 2.6.36.3, including one CVE 2011-01-26 09:58:08 -05:00
thinkpad-acpi-add-x100e.patch initial srpm import 2010-07-29 17:19:53 -07:00
thinkpad-acpi-fix-backlight.patch initial srpm import 2010-07-29 17:19:53 -07:00
tpm-autodetect-itpm-devices.patch fix some tpm, rt2x00, and an rds security vulnerability 2010-10-22 10:43:01 -04:00
tpm-fix-stall-on-boot.patch add patch missing from previous commit (Doh) 2010-12-09 17:10:00 -05:00
tty-icount-changeover-for-other-main-devices.patch plug various tty/serial stack leaks 2010-11-26 15:07:24 -05:00
tty-make-tiocgicount-a-handler.patch plug various tty/serial stack leaks 2010-11-26 15:07:24 -05:00
virt_console-rollup.patch initial srpm import 2010-07-29 17:19:53 -07:00
virtio_net-add-schedule-check-to-napi_enable-call.patch add virtio_net-add-schedule-check-to-napi_enable-call.patch 2011-03-23 11:35:44 -04:00
virtqueue-wrappers.patch * Sun Aug 01 2010 Chuck Ebbert <cebbert@redhat.com> 2.6.34.2-32.rc1 2010-08-02 02:50:42 -04:00
xfs-move-aio-completion-after-unwritten-extent-conversion.patch Fix "ext4 and xfs wrong data returned on read after write if 2010-08-04 10:52:15 -04:00
xfs-properly-account-for-reclaimed-inodes.patch fix the korg bug with xfs backports 2010-11-29 22:17:46 -05:00
xfs-simplify-and-remove-xfs_ireclaim.patch fix the korg bug with xfs backports 2010-11-29 22:17:46 -05:00
xfs-track-ags-with-reclaimable-inodes-in-per-ag-radix-tree.patch fix the korg bug with xfs backports 2010-11-29 22:17:46 -05:00

README.txt

		Kernel package tips & tricks.
		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The kernel is one of the more complicated packages in the distro, and
for the newcomer, some of the voodoo in the spec file can be somewhat scary.
This file attempts to document some of the magic.


Speeding up make prep
---------------------
The kernel is nearly 500MB of source code, and as such, 'make prep'
takes a while. The spec file employs some trickery so that repeated
invocations of make prep don't take as long.  Ordinarily the %prep
phase of a package will delete the tree it is about to untar/patch.
The kernel %prep keeps around an unpatched version of the tree,
and makes a symlink tree clone of that clean tree and than applies
the patches listed in the spec to the symlink tree.
This makes a huge difference if you're doing multiple make preps a day.
As an added bonus, doing a diff between the clean tree and the symlink
tree is slightly faster than it would be doing two proper copies of the tree.


build logs.
-----------
There's a convenience helper script in scripts/grab-logs.sh
that will grab the build logs from koji for the kernel version reported
by make verrel


config heirarchy.
-----------------
Instead of having to maintain a config file for every arch variant we build on,
the kernel spec uses a nested system of configs.  At the top level, is
config-generic. Add options here that should be present in every possible
config on all architectures.
Beneath this are per-arch overrides. For example config-x86-generic add
additional x86 specific options, and also _override_ any options that were
set in config-generic.
There exist two additional overrides, config-debug, and config-nodebug,
which override -generic, and the per-arch overrides. It is documented
further below.

debug options.
--------------
This is a little complicated, as the purpose & meaning of this changes
depending on where we are in the release cycle.
If we are building for a current stable release, 'make release' has
typically been run already, which sets up the following..
- Two builds occur, a 'kernel' and a 'kernel-debug' flavor.
- kernel-debug will get various heavyweight debugging options like
  lockdep etc turned on.

If we are building for rawhide, 'make debug' has been run, which changes
the status quo to:
- We only build one kernel 'kernel'
- The debug options from 'config-debug' are always turned on.
This is done to increase coverage testing, as not many people actually
run kernel-debug.

To add new debug options, add an option to _both_ config-debug and config-nodebug,
and also new stanzas to the Makefile 'debug' and 'release' targets.

Sometimes debug options get added to config-generic, or per-arch overrides
instead of config-[no]debug. In this instance, the options should have no
discernable performance impact, otherwise they belong in the debug files.