lib: Remove the BOOTBLOCK_CUSTOM compile guard
This CL allows that everyone can use main() in lib/bootblock.c even if you select CONFIG_BOOTBLOCK_CUSTOM. I also rename main functions used in some soc/ to avoid the collision with the main function defined at lib/bootblock.c. Change-Id: I0575c9d1ce9dea9facfcc86760dff4deee9c1e29 Signed-off-by: Asami Doi <d0iasm.pub@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34250 Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@@ -32,10 +32,7 @@ decompressor-y += memcmp.c
|
||||
decompressor-y += prog_ops.c
|
||||
decompressor-$(CONFIG_COLLECT_TIMESTAMPS) += timestamp.c
|
||||
|
||||
ifneq ($(CONFIG_BOOTBLOCK_CUSTOM),y)
|
||||
bootblock-y += bootblock.c
|
||||
endif
|
||||
|
||||
bootblock-y += prog_loaders.c
|
||||
bootblock-y += prog_ops.c
|
||||
bootblock-y += cbfs.c
|
||||
|
Reference in New Issue
Block a user