diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-07-24 09:26:59 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-08-18 16:04:26 +1000 |
commit | b54745c0a81af6e2ecd86f50f2b66aa9d0f4409e (patch) | |
tree | 5ef40e0df885ea8517d7984875cbf27a63efd48c /Makefile | |
parent | 4296082b02630ac56697fc81b13465b49db2d7b1 (diff) | |
download | skiboot-b54745c0a81af6e2ecd86f50f2b66aa9d0f4409e.zip skiboot-b54745c0a81af6e2ecd86f50f2b66aa9d0f4409e.tar.gz skiboot-b54745c0a81af6e2ecd86f50f2b66aa9d0f4409e.tar.bz2 |
Add global DEBUG make flag
And use it to control the stack checker, memory poisoning and
CCAN's list debugging.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -16,6 +16,11 @@ else endif # +# Main debug switch +# +DEBUG ?= 0 + +# # Set to enable SLW bits # PORE ?= 1 @@ -30,7 +35,7 @@ KERNEL ?= # # Optional build with advanced stack checking # -STACK_CHECK ?= 0 +STACK_CHECK ?= $(DEBUG) # # Where is the source directory, must be a full path (no ~) |