diff options
author | Simon Glass <sjg@chromium.org> | 2014-09-14 12:40:14 -0600 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-09-24 18:30:28 -0400 |
commit | b84505210367d152a456a2adeba90e13626ad104 (patch) | |
tree | bb738c818f80443628ba2b5f8aaee55c287c751c | |
parent | 214b3f311f0c1ac4c8f68e45133fc3547c76d8d1 (diff) | |
download | u-boot-socfpga-b84505210367d152a456a2adeba90e13626ad104.tar.gz |
Reactivate the tracing feature
This was lost sometime in the Kbuild conversion. Add it back.
Check that the trace test now passes:
$ ./test/trace/test-trace.sh
Simple trace test / sanity check using sandbox
/tmp/filemHKPGw
Build sandbox
O=sandbox FTRACE=1
GEN /home/sjg/c/src/third_party/u-boot/files/sandbox/Makefile
Configuring for sandbox board...
Check results
Test passed
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | config.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -53,6 +53,10 @@ ifdef BOARD sinclude $(srctree)/board/$(BOARDDIR)/config.mk # include board specific rules endif +ifdef FTRACE +PLATFORM_CPPFLAGS += -finstrument-functions -DFTRACE +endif + ######################################################################### RELFLAGS := $(PLATFORM_RELFLAGS) |