arm: K3: Fix usage of CONFIG_SYS_K3_KEY
authorLokesh Vutla <lokeshvutla@ti.com>
Wed, 19 Dec 2018 07:23:31 +0000 (12:53 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 27 Dec 2018 02:35:52 +0000 (21:35 -0500)
commitadc702e22948ec5fe7b6706d0d66ec3bdd35e323
tree598d40b08943683319a63bd16a7cf439285765c6
parent8efae021db1166ea07be0b2eda7f074d767843ea
arm: K3: Fix usage of CONFIG_SYS_K3_KEY

For signing the tiboot3.bin image, an optional KEY file can be passed
using CONFIG_SYS_K3_KEY. Right now, Makefile scripts directly takes
the config value and uses it for signing. This is okay if the build
directory is a sub-directory of source tree, otherwise it fails.
Fix it by using the path relative to the source tree.

Reported-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-k3/config.mk