[U-Boot] [U-Boot, 3/7] common: kconfig: Mark AVB_VERIFY as dependent on PARTITION_UUIDS
Tom Rini
trini at konsulko.com
Fri Aug 24 20:09:45 UTC 2018
On Tue, Aug 14, 2018 at 02:43:05AM +0200, Eugeniu Rosca wrote:
> Avoid below compiler [1] errors, reproduced with configuration [2]:
>
> common/avb_verify.c: In function ‘get_unique_guid_for_partition’:
> common/avb_verify.c:692:31: error: ‘disk_partition_t {aka struct disk_partition}’ has no member named ‘uuid’
> uuid_size = sizeof(part->info.uuid);
> ^
> common/avb_verify.c:696:29: error: ‘disk_partition_t {aka struct disk_partition}’ has no member named ‘uuid’
> memcpy(guid_buf, part->info.uuid, uuid_size);
> ^
> LD drivers/built-in.o
> make[2]: *** [scripts/Makefile.build:278: common/avb_verify.o] Error 1
>
> [1] aarch64-linux-gnu-gcc (Linaro GCC 7.2-2017.11)
> [2] r8a7795_ulcb_defconfig, plus:
> CONFIG_AVB_VERIFY=y
> CONFIG_PARTITION_UUIDS=y
> CONFIG_UDP_FUNCTION_FASTBOOT=y
> CONFIG_LIBAVB=y
>
> Signed-off-by: Eugeniu Rosca <erosca at de.adit-jv.com>
> Reviewed-by: Igor Opaniuk <igor.opaniuk at linaro.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180824/84ab9427/attachment.sig>
More information about the U-Boot
mailing list