From ccb40e674588f671092435079c2e503325d3ce34 Mon Sep 17 00:00:00 2001 From: Kyle McMartin Date: Tue, 16 Nov 2010 02:06:52 -0500 Subject: [PATCH] add a target to toggle debuginfo generation (my disk is slow...) --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index c6142c153..ca62cce42 100644 --- a/Makefile +++ b/Makefile @@ -102,6 +102,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 +nodebuginfo: + @perl -pi -e 's/^%define with_debuginfo %\{\?_without_debuginfo: 0\} %\{\?\!_without_debuginfo: 1\}/%define with_debuginfo %\{\?_without_debuginfo: 0\} %\{\?\!_without_debuginfo: 0\}/' kernel.spec nodebug: release @perl -pi -e 's/^%define debugbuildsenabled 1/%define debugbuildsenabled 0/' kernel.spec release: