summaryrefslogtreecommitdiffstats
path: root/Makefile
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
parenta9431760beeb71d2819dc02f0fbf21ba02b27443 (diff)
downloadkernel-8b6438f7bd85891b18a3cb90584c069bf5395f61.tar.gz
kernel-8b6438f7bd85891b18a3cb90584c069bf5395f61.tar.xz
kernel-8b6438f7bd85891b18a3cb90584c069bf5395f61.zip
Disable kmemleak for release builds
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ce580e4a2..d60583204 100644
--- a/Makefile
+++ b/Makefile
@@ -93,6 +93,7 @@ debug:
@perl -pi -e 's/# CONFIG_DEBUG_ATOMIC_SLEEP is not set/CONFIG_DEBUG_ATOMIC_SLEEP=y/' config-nodebug
@perl -pi -e 's/# CONFIG_DETECT_HUNG_TASK is not set/CONFIG_DETECT_HUNG_TASK=y/' config-nodebug
@perl -pi -e 's/# CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK is not set/CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y/' config-nodebug
+ @perl -pi -e 's/# CONFIG_DEBUG_KMEMLEAK is not set/CONFIG_DEBUG_KMEMLEAK=y/' config-nodebug
@# just in case we're going from extremedebug -> debug
@perl -pi -e 's/CONFIG_DEBUG_PAGEALLOC=y/# CONFIG_DEBUG_PAGEALLOC is not set/' config-nodebug