summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorgaurav rana <gaurav.rana@freescale.com>2015-04-06 13:05:33 +0530
committerStefano Babic <sbabic@denx.de>2015-04-22 16:02:46 +0200
commit1c29ad7bc0c74e975a9f16e6fcecf1b7098b34e1 (patch)
tree7b3f16a54b4770f575c36fd6a6076417e50106dd /board/freescale
parent6b396b31626ebe818d63421dae75e8c5bc6d9092 (diff)
downloadu-boot-imx-1c29ad7bc0c74e975a9f16e6fcecf1b7098b34e1.zip
u-boot-imx-1c29ad7bc0c74e975a9f16e6fcecf1b7098b34e1.tar.gz
u-boot-imx-1c29ad7bc0c74e975a9f16e6fcecf1b7098b34e1.tar.bz2
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>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/common/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/freescale/common/Makefile b/board/freescale/common/Makefile
index 7181cac..87d0578 100644
--- a/board/freescale/common/Makefile
+++ b/board/freescale/common/Makefile
@@ -74,8 +74,7 @@ obj-$(CONFIG_P5040DS) += p_corenet/
obj-$(CONFIG_LS102XA_NS_ACCESS) += ns_access.o
ifdef CONFIG_SECURE_BOOT
-obj-y += fsl_validate.o
-obj-$(CONFIG_CMD_ESBC_VALIDATE) += cmd_esbc_validate.o
+obj-$(CONFIG_CMD_ESBC_VALIDATE) += fsl_validate.o cmd_esbc_validate.o
endif
endif