From: Tom Rini Date: Mon, 6 May 2019 07:13:27 -0400 Subject: [U-Boot] [PATCH] Refactor IMAGE_ENABLE_VERIFY to handle builds without SPL verification In-Reply-To: <20190418203455.7985-1-alex.kiernan@gmail.com> References: <20190418203455.7985-1-alex.kiernan@gmail.com> Message-ID: <20190506111327.GQ31207@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Apr 18, 2019 at 08:34:55PM +0000, Alex Kiernan wrote: > If building with SPL_LOAD_FIT_FULL and FIT_SIGNATURE, but without > SPL_FIT_SIGNATURE then the build fails with: > > common/built-in.o: In function `fit_image_verify_with_data': > common/image-fit.c:1220: undefined reference to `fit_image_verify_required_sigs' > common/image-fit.c:1244: undefined reference to `fit_image_check_sig' > common/built-in.o: In function `fit_image_load': > common/image-fit.c:1857: undefined reference to `fit_config_verify' > > Refactor so that host builds still depend on FIT_SIGNATURE, but target > builds check FIT_SIGNATURE/SPL_FIT_SIGNATURE dependent on the build. > > Signed-off-by: Alex Kiernan > Reviewed-by: Simon Glass 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: