9125d88596
Right now some console specific objects are included in the bootblock even if CONFIG_BOOTBLOCK_CONSOLE is disabled while others are not. Make all of them conditional and also fix a preprocessor misuse in bootblock_simple.c and a stray (useless) die() in the Exynos wakeup code that made inclusion of those files necessary. Change-Id: Ia7f9d17654466f199b0e13afbdc9e14c9706530f Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: https://chromium-review.googlesource.com/168772 Reviewed-by: David Hendrix <dhendrix@chromium.org> (cherry picked from commit 855da1f07b52898c7edcaffe5baabe9d485bbd83) Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com> Reviewed-on: http://review.coreboot.org/6637 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org>
21 lines
681 B
Makefile
21 lines
681 B
Makefile
ramstage-y += vtxprintf.c printk.c vsprintf.c
|
|
ramstage-y += init.c console.c
|
|
ramstage-y += post.c
|
|
ramstage-y += die.c
|
|
|
|
smm-$(CONFIG_DEBUG_SMI) += init.c console.c vtxprintf.c printk.c
|
|
smm-$(CONFIG_SMM_TSEG) += die.c
|
|
|
|
romstage-y += vtxprintf.c printk.c
|
|
romstage-y += init.c console.c
|
|
romstage-y += post.c
|
|
romstage-y += die.c
|
|
|
|
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += vtxprintf.c printk.c
|
|
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += init.c console.c
|
|
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += die.c
|
|
|
|
$(obj)/console/init.smm.o : $(obj)/build.h
|
|
$(obj)/console/init.ramstage.o : $(obj)/build.h
|
|
$(obj)/console/init.romstage.o : $(obj)/build.h
|
|
$(obj)/console/init.bootblock.o : $(obj)/build.h
|