Message ID | 1410720017-22217-1-git-send-email-sjg@chromium.org |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
On Sun, Sep 14, 2014 at 12:40:14PM -0600, Simon Glass wrote: > 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> Applied to u-boot/master, thanks!
diff --git a/config.mk b/config.mk index b4bf6f9..2157537 100644 --- a/config.mk +++ b/config.mk @@ -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)
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> --- Changes in v2: None config.mk | 4 ++++ 1 file changed, 4 insertions(+)