From a8df49e8a4fb5b0860f069dbc2ada5109c683058 Mon Sep 17 00:00:00 2001 From: Kyle McMartin Date: Fri, 3 Sep 2010 09:53:03 -0400 Subject: [PATCH] add a 'nodebug' target to turn off -debug entirely --- Makefile | 2 ++ 1 file changed, 2 insertions(+) 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