mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
avb2.0: integrate avb 2.0 into the build system
Integrate libavb into the build system. Introduce CONFIG_LIBAVB build option. Signed-off-by: Igor Opaniuk <igor.opaniuk@linaro.org>
This commit is contained in:
14
lib/Kconfig
14
lib/Kconfig
@@ -187,6 +187,20 @@ config TPM
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
menu "Android Verified Boot"
|
||||||
|
|
||||||
|
config LIBAVB
|
||||||
|
bool "Android Verified Boot 2.0 support"
|
||||||
|
depends on ANDROID_BOOT_IMAGE
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
This enables support of Android Verified Boot 2.0 which can be used
|
||||||
|
to assure the end user of the integrity of the software running on a
|
||||||
|
device. Introduces such features as boot chain of trust, rollback
|
||||||
|
protection etc.
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
|
||||||
menu "Hashing Support"
|
menu "Hashing Support"
|
||||||
|
|
||||||
config SHA1
|
config SHA1
|
||||||
|
@@ -56,6 +56,7 @@ obj-$(CONFIG_$(SPL_)ZLIB) += zlib/
|
|||||||
obj-$(CONFIG_$(SPL_)GZIP) += gunzip.o
|
obj-$(CONFIG_$(SPL_)GZIP) += gunzip.o
|
||||||
obj-$(CONFIG_$(SPL_)LZO) += lzo/
|
obj-$(CONFIG_$(SPL_)LZO) += lzo/
|
||||||
|
|
||||||
|
obj-$(CONFIG_LIBAVB) += libavb/
|
||||||
|
|
||||||
obj-$(CONFIG_$(SPL_TPL_)SAVEENV) += qsort.o
|
obj-$(CONFIG_$(SPL_TPL_)SAVEENV) += qsort.o
|
||||||
obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += libfdt/
|
obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += libfdt/
|
||||||
|
15
lib/libavb/Makefile
Normal file
15
lib/libavb/Makefile
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#
|
||||||
|
# (C) Copyright 2017 Linaro Limited
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-2.0+
|
||||||
|
#
|
||||||
|
|
||||||
|
obj-$(CONFIG_LIBAVB) += avb_chain_partition_descriptor.o avb_cmdline.o
|
||||||
|
obj-$(CONFIG_LIBAVB) += avb_crypto.o avb_footer.o avb_hashtree_descriptor.o
|
||||||
|
obj-$(CONFIG_LIBAVB) += avb_property_descriptor.o avb_sha256.o
|
||||||
|
obj-$(CONFIG_LIBAVB) += avb_slot_verify.o avb_util.o avb_version.o
|
||||||
|
obj-$(CONFIG_LIBAVB) += avb_descriptor.o avb_hash_descriptor.o
|
||||||
|
obj-$(CONFIG_LIBAVB) += avb_kernel_cmdline_descriptor.o avb_rsa.o avb_sha512.o
|
||||||
|
obj-$(CONFIG_LIBAVB) += avb_sysdeps_posix.o avb_vbmeta_image.o
|
||||||
|
|
||||||
|
ccflags-y = -DAVB_COMPILATION
|
Reference in New Issue
Block a user