Searched hist:"3 c9461520f734b92f27345da515160d8522eeda6" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/socionext/uniphier/ |
| H A D | platform.mk | 3c9461520f734b92f27345da515160d8522eeda6 Fri Nov 03 18:14:03 UTC 2017 Masahiro Yamada <yamada.masahiro@socionext.com> uniphier: make sure to create build directory before ROT key
Building the UniPhier platform in parallel with TRUSTED_BOARD_BOOT=1 could fail due to non-existing directory. It might be difficult to reproduce, but here is an easier way to trigger the problem:
$ make PLAT=uniphier TRUSTED_BOARD_BOOT=1 MBEDTLS_DIR=mbedtls certificates OPENSSL build/uniphier/release/rot_key.pem /bin/sh: 1: cannot create build/uniphier/release/rot_key.pem: Directory nonexistent make: *** [build/uniphier/release/rot_key.pem] Error 2
The $(ROT_KEY) must depend on $(BUILD_PLAT) so that the build directory is created before the key.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
|