diff options
author | Kyle McMartin <kyle@dreadnought.i.jkkm.org> | 2010-09-03 09:53:03 -0400 |
---|---|---|
committer | Kyle McMartin <kyle@dreadnought.i.jkkm.org> | 2010-09-03 09:53:03 -0400 |
commit | a8df49e8a4fb5b0860f069dbc2ada5109c683058 (patch) | |
tree | eaf7b304e52ec97301f7654b7d8288b0fa80eef7 /Makefile | |
parent | 2de9721b4e2312962c6d5135a726eb162e6cc8b0 (diff) | |
download | kernel-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-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |