Hi Igor, On Tue, Jul 17, 2018 at 02:33:25PM +0300, Igor Opaniuk wrote: > 1. Since libavb library alone is highly portable, introduce dedicated > Kconfig symbol for AVB bootloader-dependent operations, so it's possible > to build libavb separately. AVB bootloader-dependent operations include: > * Helpers to process strings in order to build OS bootargs. > * Helpers to access MMC, similar to drivers/fastboot/fb_mmc.c. > * Helpers to alloc/init/free avb ops. > 2. Add CONFIG_FASTBOOT dependency, as fastboot buffer is > re-used in partition verification operations. > > Reported-by: Eugeniu Rosca <rosca.euge...@gmail.com> > Signed-off-by: Igor Opaniuk <igor.opan...@linaro.org> > --- > cmd/Kconfig | 2 +- > common/Kconfig | 10 ++++++++++ > common/Makefile | 2 +- > doc/README.avb2 | 1 + > 4 files changed, 13 insertions(+), 2 deletions(-)
With this patch I am now able to compile libavb natively for x86_64, as well as cross-compile it for arm and aarch64, w/o the avb_verify wrapper. Thanks for the improvements in the patch/Kconfig description. Reviewed-by: Eugeniu Rosca <rosca.euge...@gmail.com> Tested-by: Eugeniu Rosca <rosca.euge...@gmail.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot