* Patrick Georgi Patrick.Georgi@secunet.com [110217 09:55]:
Signed-off-by: Patrick Georgi patrick.georgi@secunet.com index 0754b15..a233c13 100644 --- a/Makefile +++ b/Makefile
-$(eval $(call create_cc_template,driver,S,-DASSEMBLY)) -$(eval $(call create_cc_template,smm,c)) -$(eval $(call create_cc_template,smm,S))
Interesting. I think smm,S should have had -DASSEMBLY, too.
Well, even better would be to use __ASSEMBLY__ or __ASSEMBLER__ in the code as defined by gcc for this purpose and not treat them differently at all.
Acked-by: Stefan Reinauer stefan.reinauer@coreboot.org