librecore-org / librecore

GNU General Public License v2.0
88 stars 10 forks source link

commonlib: Required to build coreboot #1

Open zamaudio opened 7 years ago

zamaudio commented 7 years ago

When you remove 3rdparty, you get these kinds of errors building coreboot

    CC         bootblock/arch/x86/mmap_boot.o
In file included from src/include/cbfs.h:19:0,
                 from src/arch/x86/mmap_boot.c:17:
src/commonlib/include/commonlib/cbfs.h:21:21: fatal error: vb2_api.h: No such file or directory
compilation terminated.
zamaudio commented 7 years ago

This indicates that vbootstub is required, and also src/commonlib is required from the librecore-utils to build coreboot

zamaudio commented 7 years ago

I stubbed it out with a copy of vbootstub from librecore-utils, all working except boards that require vboot ie google boards.