Support tracing in config.mk when enabled
authorSimon Glass <sjg@chromium.org>
Tue, 11 Jun 2013 18:14:41 +0000 (11:14 -0700)
committerTom Rini <trini@ti.com>
Wed, 26 Jun 2013 14:16:41 +0000 (10:16 -0400)
commit5c2aeac5ae3556fd75e63596740d9ce0faf7afa4
tree5e0b9a8affe35e9bb5dde69fec9bb93b5071ff25
parentcabcbb56c86f77d8b5cc57ae86d5fa6dc718f4f7
Support tracing in config.mk when enabled

Use -finstrument-functions when tracing is enabled (make FTRACE=1).
Tracing is not currently supported by SPL even if sufficient memory is
available.

When tracing is enabled, we #define FTRACE. This can be used by
board config files to conditionally enable the tracing options.

Signed-off-by: Simon Glass <sjg@chromium.org>
config.mk