diff options
author | Kyle McMartin <kyle@mcmartin.ca> | 2010-11-16 02:06:52 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@mcmartin.ca> | 2010-11-16 02:06:52 -0500 |
commit | ccb40e674588f671092435079c2e503325d3ce34 (patch) | |
tree | 67fa76045eb7382929b7af585e86073f842a19b4 | |
parent | 754832dcb49b19e83a96b75cc94ce764cae8ae3d (diff) | |
download | kernel-ccb40e674588f671092435079c2e503325d3ce34.tar.gz kernel-ccb40e674588f671092435079c2e503325d3ce34.tar.xz kernel-ccb40e674588f671092435079c2e503325d3ce34.zip |
add a target to toggle debuginfo generation
(my disk is slow...)
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: |