diff options
author | Chunrong Guo <chunrong.guo@nxp.com> | 2019-08-26 11:40:30 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2019-09-04 18:33:08 -0300 |
commit | 528709d642c56a648a86ed40f677a8b5eba3435f (patch) | |
tree | e65dc884cc4ac73a292646de2f7d2b4a55400258 /recipes-bsp | |
parent | 755319eed4fd490eea81ac6fa350c6dadf799f55 (diff) | |
download | meta-freescale-528709d642c56a648a86ed40f677a8b5eba3435f.tar.gz |
atf: specify the non default keys pair
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/atf/atf_git.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes-bsp/atf/atf_git.bb b/recipes-bsp/atf/atf_git.bb index 34203266..58b1d8f7 100644 --- a/recipes-bsp/atf/atf_git.bb +++ b/recipes-bsp/atf/atf_git.bb | |||
@@ -65,7 +65,12 @@ do_compile() { | |||
65 | export LIBPATH="${RECIPE_SYSROOT_NATIVE}" | 65 | export LIBPATH="${RECIPE_SYSROOT_NATIVE}" |
66 | install -d ${S}/include/tools_share/openssl | 66 | install -d ${S}/include/tools_share/openssl |
67 | cp -r ${RECIPE_SYSROOT}/usr/include/openssl/* ${S}/include/tools_share/openssl | 67 | cp -r ${RECIPE_SYSROOT}/usr/include/openssl/* ${S}/include/tools_share/openssl |
68 | ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/gen_keys 1024 | 68 | if [ ! -f ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/srk.pri ]; then |
69 | ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/gen_keys 1024 | ||
70 | else | ||
71 | cp ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/srk.pri ${S} | ||
72 | cp ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/srk.pub ${S} | ||
73 | fi | ||
69 | 74 | ||
70 | if [ "${BUILD_FUSE}" = "true" ]; then | 75 | if [ "${BUILD_FUSE}" = "true" ]; then |
71 | ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/gen_fusescr ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/input_files/gen_fusescr/${chassistype}/input_fuse_file | 76 | ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/gen_fusescr ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/input_files/gen_fusescr/${chassistype}/input_fuse_file |