diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2011-08-22 17:33:44 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2011-08-24 12:53:03 -0500 |
commit | 5d30abd488109fafecdfb3119449aefa5dd685b2 (patch) | |
tree | 8ef9d0d49b15507b8d1f3d82a52ce27d8af242d7 /config.mk | |
parent | 0977c6da14b8fc1623043daa429041863498aeae (diff) | |
download | talos-hostboot-5d30abd488109fafecdfb3119449aefa5dd685b2.tar.gz talos-hostboot-5d30abd488109fafecdfb3119449aefa5dd685b2.zip |
Add environment var to remove debug messages.
- Add printkd function.
- Create HOSTBOOT_DEBUG env var for printk.
- Update trace interfaces to utilize HOSTBOOT_DEBUG.
- Fix compile errors due to unused variables.
Change-Id: Ib18c3ecd51ca333e0118949bf35476e9c5aa46a7
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/273
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -1,3 +1,26 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: config.mk $ +# +# IBM CONFIDENTIAL +# +# COPYRIGHT International Business Machines Corp. 2010 - 2011 +# +# p1 +# +# Object Code Only (OCO) source materials +# Licensed Internal Code Source Materials +# IBM HostBoot Licensed Internal Code +# +# The source code for this program is not published or other- +# wise divested of its trade secrets, irrespective of what has +# been deposited with the U.S. Copyright Office. +# +# Origin: 30 +# +# IBM_PROLOG_END + all: ${MAKE} gen_pass ${MAKE} code_pass @@ -23,6 +46,10 @@ IMGDIR = ${ROOTPATH}/img EXTRAINCDIR += ${GENDIR} endif +ifdef HOSTBOOT_DEBUG +CUSTOMFLAGS += -DHOSTBOOT_DEBUG=1 +endif + TRACEPP = ${ROOTPATH}/src/build/trace/tracepp CUSTOM_LINKER_EXE = ${ROOTPATH}/src/build/linker/linker CUSTOM_LINKER = i686-mcp6-jail ${CUSTOM_LINKER_EXE} |