projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Makefile: move some flags to examples makefiles
[oweals/u-boot.git]
/
examples
/
api
/
Makefile
diff --git
a/examples/api/Makefile
b/examples/api/Makefile
index 52f43680fc610cdef26fc90ddee82492ff847260..ee3c487c13253904593e09376730a7b20984c5ac 100644
(file)
--- a/
examples/api/Makefile
+++ b/
examples/api/Makefile
@@
-4,6
+4,10
@@
# SPDX-License-Identifier: GPL-2.0+
#
+ifdef FTRACE
+CFLAGS += -finstrument-functions -DFTRACE
+endif
+
ifeq ($(ARCH),powerpc)
LOAD_ADDR = 0x40000
endif