Commit ffa7bd69 authored by Benoit Rat's avatar Benoit Rat Committed by Alessandro Rubini

build: add DEBUG flag to HAL so that TRACE is not silent

Most of the calls in HAL use TRACE to print to stdout/stderr however
the full TRACE is depending on DEBUG flag at compilation.

This is a quick hack, and the whole TRACE system should be re written
with something like:

TRACE_P_FATAL(...)
TRACE_P_ERROR(...)
TRACE_P_WARN(...)
TRACE_P_INFO(...)
TRACE_P_VERBOSE(...)
#ifdef DEBUG
TRACE_P_DEBUG(...)
#endif
parent ec3d1491
......@@ -18,6 +18,7 @@ installdir="$WRS_OUTPUT_DIR/images/wr"
# This time build is done in-place, but the output is a tree in images/wr.
# Some of the makefiles inside use
export LINUX="$WRS_OUTPUT_DIR/build/linux-2.6.39"
export WRS_HAL_DEBUG=1
cd $sourcedir
make clean || wrs_die "Error cleaning user space"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment