mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-25 20:52:01 +01:00
iMX: Fix compilation error when enabling SECURE_BOOT
Move the compilation of file fsl_validate.c in MACRO CONFIG_CMD_ESBC_VALIDATE. This file should be compiled only when the above MACRO is defined This caused a break in compilation of iMX platforms when compiling for SECURE_BOOT Signed-off-by: Gaurav Rana <gaurav.rana@freescale.com>
This commit is contained in:
parent
6b396b3162
commit
1c29ad7bc0
@ -74,8 +74,7 @@ obj-$(CONFIG_P5040DS) += p_corenet/
|
|||||||
obj-$(CONFIG_LS102XA_NS_ACCESS) += ns_access.o
|
obj-$(CONFIG_LS102XA_NS_ACCESS) += ns_access.o
|
||||||
|
|
||||||
ifdef CONFIG_SECURE_BOOT
|
ifdef CONFIG_SECURE_BOOT
|
||||||
obj-y += fsl_validate.o
|
obj-$(CONFIG_CMD_ESBC_VALIDATE) += fsl_validate.o cmd_esbc_validate.o
|
||||||
obj-$(CONFIG_CMD_ESBC_VALIDATE) += cmd_esbc_validate.o
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user