mirror of https://github.com/thesofproject/sof.git
configure: Change install prefix for bin and keys
Install prefix will not influce PEM install path. Add the check to let PEM can install with the prefix. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
This commit is contained in:
parent
d932982dfc
commit
408d9358f6
|
@ -358,7 +358,11 @@ if test "$have_rimage" = "yes"; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "x$prefix" == "xNONE"; then
|
||||||
PEM_KEY_PREFIX="/usr/local/share/rimage"
|
PEM_KEY_PREFIX="/usr/local/share/rimage"
|
||||||
|
else
|
||||||
|
PEM_KEY_PREFIX=$prefix"/share/rimage"
|
||||||
|
fi
|
||||||
AC_DEFINE_UNQUOTED([PEM_KEY_PREFIX], ["$PEM_KEY_PREFIX"], ["Path for PEM keys"])
|
AC_DEFINE_UNQUOTED([PEM_KEY_PREFIX], ["$PEM_KEY_PREFIX"], ["Path for PEM keys"])
|
||||||
AC_SUBST(PEM_KEY_PREFIX)
|
AC_SUBST(PEM_KEY_PREFIX)
|
||||||
|
|
||||||
|
@ -448,6 +452,7 @@ echo "
|
||||||
Target Architecture: ${ARCH}
|
Target Architecture: ${ARCH}
|
||||||
Target Platform: ${PLATFORM}
|
Target Platform: ${PLATFORM}
|
||||||
Target Core: ${XTENSA_CORE}
|
Target Core: ${XTENSA_CORE}
|
||||||
|
Install Prefix: ${prefix}
|
||||||
PEM: ${PEM_KEY_PREFIX}
|
PEM: ${PEM_KEY_PREFIX}
|
||||||
|
|
||||||
Compiler: ${CC}
|
Compiler: ${CC}
|
||||||
|
|
Loading…
Reference in New Issue