From: Simon Glass <sjg@chromium.org>
Date: Sat, 30 Apr 2022 06:56:49 +0000 (-0600)
Subject: avb: Don't build in SPL
X-Git-Tag: v2025.01-rc5-pxa1908~1424^2~8
X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=743ebe6b795ac764006c91f9f5b4cafdfa421e6e;p=u-boot.git

avb: Don't build in SPL

This feature is not used in SPL at present. Update the Makefile to avoid
it being built.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

diff --git a/common/Makefile b/common/Makefile
index cc2ba30c63..75c24e3249 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -112,7 +112,7 @@ obj-y += s_record.o
 obj-$(CONFIG_CMD_LOADB) += xyzModem.o
 obj-$(CONFIG_$(SPL_TPL_)YMODEM_SUPPORT) += xyzModem.o
 
-obj-$(CONFIG_AVB_VERIFY) += avb_verify.o
+obj-$(CONFIG_$(SPL_TPL_)AVB_VERIFY) += avb_verify.o
 obj-$(CONFIG_$(SPL_TPL_)STACKPROTECTOR) += stackprot.o
 obj-$(CONFIG_SCP03) += scp03.o