coreboot/mainboard
Uwe Hermann daea2e08b0 The introduction of the _SHARED macros had one flaw: If multiple files
had _SHARED defined during compilation, each of them would contain an
assignment of stage0_printk to *printk. During linking, this caused
errors as multiple definitions of printk existed.
Make sure _SHARED alone gives you only the printk prototype, and iff
_MAINOBJECT is defined as well, include the assignment.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@516 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-11-22 22:54:11 +00:00
..
adl The introduction of the _SHARED macros had one flaw: If multiple files 2007-11-22 22:54:11 +00:00
amd The introduction of the _SHARED macros had one flaw: If multiple files 2007-11-22 22:54:11 +00:00
artecgroup The introduction of the _SHARED macros had one flaw: If multiple files 2007-11-22 22:54:11 +00:00
emulation The introduction of the _SHARED macros had one flaw: If multiple files 2007-11-22 22:54:11 +00:00
Kconfig Various Kconfig file fixes (trivial). 2007-06-29 13:28:33 +00:00