[Sound-open-firmware] [PATCH 1/3] configure: Change install prefix for bin and keys
Xiuli Pan
xiuli.pan at linux.intel.com
Fri Jun 8 12:32:27 CEST 2018
From: Pan Xiuli <xiuli.pan at linux.intel.com>
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 at linux.intel.com>
---
configure.ac | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index 0f34acc..a948906 100644
--- a/configure.ac
+++ b/configure.ac
@@ -358,7 +358,11 @@ if test "$have_rimage" = "yes"; then
fi
fi
+if test "x$prefix" == "xNONE"; then
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_SUBST(PEM_KEY_PREFIX)
@@ -448,6 +452,7 @@ echo "
Target Architecture: ${ARCH}
Target Platform: ${PLATFORM}
Target Core: ${XTENSA_CORE}
+Install Prefix: ${prefix}
PEM: ${PEM_KEY_PREFIX}
Compiler: ${CC}
--
2.7.4
More information about the Sound-open-firmware
mailing list