From: Clemens Gruber Date: Sun, 3 Sep 2017 17:17:10 +0000 (+0200) Subject: crypto/fsl: fix obj-yy in Makefile X-Git-Tag: rel_imx_4.9.88_2.0.0_ga~18 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=415efc9358f68d99f28f13683eda3a8289e38a91;p=u-boot.git crypto/fsl: fix obj-yy in Makefile When enabling CONFIG_CMD_BLOB and/or CONFIG_CMD_DEKBLOB, the build fails with a linker error: ... LD u-boot arch/arm/mach-imx/built-in.o: In function `blob_encap_dek': /home/clemens/dev/u-boot/arch/arm/mach-imx/cmd_dek.c:46: undefined reference to `blob_dek' This is due to an error in the Makefile, resulting in obj-yy/obj-yn/.. and fsl_blob.o is therefore not linked. Fix it by splitting it up into two obj-y lines. Signed-off-by: Clemens Gruber Reviewed-by: Fabio Estevam [Breno: Backported to v2017.03] Signed-off-by: Breno Lima Reviewed-by: Ye Li (cherry picked from commit e62c55b64fa81236caf9adaa9737de2f2c4777e3) --- diff --git a/drivers/crypto/fsl/Makefile b/drivers/crypto/fsl/Makefile index 12887e5fe5..87bdde7ab8 100644 --- a/drivers/crypto/fsl/Makefile +++ b/drivers/crypto/fsl/Makefile @@ -6,6 +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 +obj-$(CONFIG_CMD_BLOB) += fsl_blob.o +obj-$(CONFIG_CMD_DEKBLOB) += fsl_blob.o obj-$(CONFIG_RSA_FREESCALE_EXP) += fsl_rsa.o obj-$(CONFIG_FSL_MFGPROT) += fsl_mfgprot.o