crypto/fsl: fix obj-yy in Makefile
authorClemens Gruber <clemens.gruber@pqgruber.com>
Sun, 3 Sep 2017 17:17:10 +0000 (19:17 +0200)
committerYe Li <ye.li@nxp.com>
Mon, 2 Apr 2018 02:41:21 +0000 (19:41 -0700)
commit415efc9358f68d99f28f13683eda3a8289e38a91
treea45c1a9dafa65f9b0747d1ecc9e4fe0021b25a4a
parent4fc2bd56253f8cc0c10fe2cfadd40a14f136e467
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 <clemens.gruber@pqgruber.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
[Breno: Backported to v2017.03]
Signed-off-by: Breno Lima <breno.lima@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit e62c55b64fa81236caf9adaa9737de2f2c4777e3)
drivers/crypto/fsl/Makefile