projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support to run SMM handler in TSEG instead of ASEG
[coreboot.git]
/
Makefile.inc
diff --git
a/Makefile.inc
b/Makefile.inc
index 81d40df84477e3b2231573ae56efcbf908cb8065..9b67496e1e3b4131b6176a87eacfd22102fe5a33 100644
(file)
--- a/
Makefile.inc
+++ b/
Makefile.inc
@@
-62,6
+62,11
@@
endif
smm-c-ccopts:=-D__SMM__
smm-S-ccopts:=-D__SMM__
+# SMM TSEG base is dynamic
+ifeq ($(CONFIG_SMM_TSEG),y)
+smm-c-ccopts += -fpic
+endif
+
ramstage-c-deps:=$$(OPTION_TABLE_H)
romstage-c-deps:=$$(OPTION_TABLE_H)