summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorAlex Kiernan <[email protected]>2019-04-18 20:34:55 +0000
committerTom Rini <[email protected]>2019-05-05 08:48:50 -0400
commit89665f2eb1e074d427af38eea71d924be6f2f15c (patch)
tree5e424f20344a3e91b057b59b6fcb2672a95c2c7c /include/linux/kernel.h
parent86f578ee85a697afb980233312f9aac1d98816df (diff)
Refactor IMAGE_ENABLE_VERIFY to handle builds without SPL verification
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions