[U-Boot] drivers/crypto/fsl/Makefile: strange assignment
Fabio Estevam
festevam at gmail.com
Fri May 13 04:22:17 CEST 2016
On Thu, May 12, 2016 at 11:12 PM, Fabio Estevam <festevam at gmail.com> wrote:
> Hi Raul,
>
> In commit 0200020bc2b8192 ("imx6: Added DEK blob generator command") you did:
>
> diff --git a/drivers/crypto/fsl/Makefile b/drivers/crypto/fsl/Makefile
> index c0cf642..4aa91e4 100644
> --- a/drivers/crypto/fsl/Makefile
> +++ b/drivers/crypto/fsl/Makefile
> @@ -8,5 +8,5 @@
>
> obj-y += sec.o
> obj-$(CONFIG_FSL_CAAM) += jr.o fsl_hash.o jobdesc.o error.o
> -obj-$(CONFIG_CMD_BLOB) += fsl_blob.o
> +obj-$(CONFIG_CMD_BLOB)$(CONFIG_CMD_DEKBLOB) += fsl_blob.o
>
> ,which does not seem correct.
>
> Could you please take a look at this?
Would this be a fix for this?
--- a/drivers/crypto/fsl/Makefile
+++ b/drivers/crypto/fsl/Makefile
@@ -6,5 +6,7 @@
obj-y += sec.o
obj-$(CONFIG_FSL_CAAM) += jr.o fsl_hash.o jobdesc.o error.o
-obj-$(CONFIG_CMD_BLOB)$(CONFIG_CMD_DEKBLOB) += fsl_blob.o
+ifeq ($(CONFIG_CMD_BLOB),y)
+obj-$(CONFIG_CMD_DEKBLOB) += fsl_blob.o
+endif
obj-$(CONFIG_RSA_FREESCALE_EXP) += fsl_rsa.o
More information about the U-Boot
mailing list