projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for the tracing infastructure in coreboot.
[coreboot.git]
/
Makefile.inc
diff --git
a/Makefile.inc
b/Makefile.inc
index 37e4fb696d85163642dba32acdf69bfd1f5b9567..167ab5bcc8f89780ded8e357f93d33905ca50c55 100644
(file)
--- a/
Makefile.inc
+++ b/
Makefile.inc
@@
-51,6
+51,10
@@
classes-y := ramstage romstage driver smm
romstage-c-ccopts:=-D__PRE_RAM__
romstage-S-ccopts:=-D__PRE_RAM__
+ifeq ($(CONFIG_TRACE),y)
+ramstage-c-ccopts:= -finstrument-functions
+endif
+
smm-c-ccopts:=-D__SMM__
smm-S-ccopts:=-D__SMM__