summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2010-11-16 02:06:52 -0500
committerKyle McMartin <kyle@mcmartin.ca>2010-11-16 02:06:52 -0500
commitccb40e674588f671092435079c2e503325d3ce34 (patch)
tree67fa76045eb7382929b7af585e86073f842a19b4 /Makefile
parent754832dcb49b19e83a96b75cc94ce764cae8ae3d (diff)
downloadkernel-ccb40e674588f671092435079c2e503325d3ce34.tar.gz
kernel-ccb40e674588f671092435079c2e503325d3ce34.tar.xz
kernel-ccb40e674588f671092435079c2e503325d3ce34.zip
add a target to toggle debuginfo generation
(my disk is slow...)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
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: