crypto/fsl: fix obj-yy in Makefile
authorClemens Gruber <clemens.gruber@pqgruber.com>
Sun, 3 Sep 2017 17:17:10 +0000 (19:17 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 4 Sep 2017 13:02:07 +0000 (09:02 -0400)
commit4c2cf973aa109844532775adeb1dec358280c217
treed671e77139ddf68bdf26c4b36aa6b5218b12f70e
parent4b51a89170b744259d89f47f339604fe1c6cab62
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>
drivers/crypto/fsl/Makefile