mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
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>
This commit is contained in:
parent
214b3f311f
commit
b845052103
1 changed files with 4 additions and 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)
|
||||
|
|
Loading…
Reference in a new issue