summaryrefslogtreecommitdiffstats
path: root/Makefile.release
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2012-01-17 13:59:44 -0500
committerDave Jones <davej@redhat.com>2012-01-17 13:59:44 -0500
commit8b6438f7bd85891b18a3cb90584c069bf5395f61 (patch)
tree6e244bee79f60b7f449a0a346702e34089e3172e /Makefile.release
parenta9431760beeb71d2819dc02f0fbf21ba02b27443 (diff)
downloadkernel-8b6438f7bd85891b18a3cb90584c069bf5395f61.tar.gz
kernel-8b6438f7bd85891b18a3cb90584c069bf5395f61.tar.xz
kernel-8b6438f7bd85891b18a3cb90584c069bf5395f61.zip
Disable kmemleak for release builds
Diffstat (limited to 'Makefile.release')
-rw-r--r--Makefile.release3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.release b/Makefile.release
index c718c36ff..dbb28b3e6 100644
--- a/Makefile.release
+++ b/Makefile.release
@@ -68,8 +68,11 @@ config-release:
@perl -pi -e 's/CONFIG_DEBUG_ATOMIC_SLEEP=y/# CONFIG_DEBUG_ATOMIC_SLEEP is not set/' config-nodebug
@perl -pi -e 's/CONFIG_DETECT_HUNG_TASK=y/# CONFIG_DETECT_HUNG_TASK is not set/' config-nodebug
@perl -pi -e 's/CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y/# CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK is not set/' config-nodebug
+ @perl -pi -e 's/CONFIG_DEBUG_KMEMLEAK=y/# CONFIG_DEBUG_KMEMLEAK is not set/' config-nodebug
+ # Undo anything that make extremedebug might have set
@perl -pi -e 's/CONFIG_DEBUG_PAGEALLOC=y/# CONFIG_DEBUG_PAGEALLOC is not set/' config-debug
@perl -pi -e 's/CONFIG_DEBUG_PAGEALLOC=y/# CONFIG_DEBUG_PAGEALLOC is not set/' config-nodebug
+ # Change defaults back to sane things.
@perl -pi -e 's/CONFIG_NR_CPUS=512/CONFIG_NR_CPUS=256/' config-x86_64-generic