summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKyle McMartin <kyle@dreadnought.i.jkkm.org>2010-09-03 09:53:03 -0400
committerKyle McMartin <kyle@dreadnought.i.jkkm.org>2010-09-03 09:53:03 -0400
commita8df49e8a4fb5b0860f069dbc2ada5109c683058 (patch)
treeeaf7b304e52ec97301f7654b7d8288b0fa80eef7 /Makefile
parent2de9721b4e2312962c6d5135a726eb162e6cc8b0 (diff)
downloadkernel-a8df49e8a4fb5b0860f069dbc2ada5109c683058.tar.gz
kernel-a8df49e8a4fb5b0860f069dbc2ada5109c683058.tar.xz
kernel-a8df49e8a4fb5b0860f069dbc2ada5109c683058.zip
add a 'nodebug' target to turn off -debug entirely
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ea1296b48..d61a807b2 100644
--- a/Makefile
+++ b/Makefile
@@ -97,6 +97,8 @@ debug:
@perl -pi -e 's/^%define debugbuildsenabled 1/%define debugbuildsenabled 0/' kernel.spec
@perl -pi -e 's/^%define rawhide_skip_docs 0/%define rawhide_skip_docs 1/' kernel.spec
+nodebug: release
+ @perl -pi -e 's/^%define debugbuildsenabled 1/%define debugbuildsenabled 0/' kernel.spec
release:
@perl -pi -e 's/CONFIG_SLUB_DEBUG_ON=y/# CONFIG_SLUB_DEBUG_ON is not set/' config-nodebug
@perl -pi -e 's/CONFIG_LOCK_STAT=y/# CONFIG_LOCK_STAT is not set/' config-nodebug