mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Add QAT flags to logic checking for dependencies
This commit is contained in:
@@ -6586,10 +6586,11 @@ AS_IF([test "x$ENABLED_INTEL_QA" = "xyes" || test "x$ENABLED_INTEL_QA_SYNC" = "x
|
|||||||
|
|
||||||
AS_IF([test "x$QAT_DIR" = "xyes"],[AC_MSG_ERROR([need a PATH for --with-intelqa$intelqa_opt])])
|
AS_IF([test "x$QAT_DIR" = "xyes"],[AC_MSG_ERROR([need a PATH for --with-intelqa$intelqa_opt])])
|
||||||
|
|
||||||
AM_CPPFLAGS="$AM_CPPFLAGS -I$QAT_DIR/quickassist/include -I$QAT_DIR/quickassist/include/lac -I$QAT_DIR/quickassist/utilities/osal/include \
|
QAT_FLAGS="-I$QAT_DIR/quickassist/include -I$QAT_DIR/quickassist/include/lac -I$QAT_DIR/quickassist/utilities/osal/include \
|
||||||
-I$QAT_DIR/quickassist/utilities/osal/src/linux/user_space/include -I$QAT_DIR/quickassist/lookaside/access_layer/include \
|
-I$QAT_DIR/quickassist/utilities/osal/src/linux/user_space/include -I$QAT_DIR/quickassist/lookaside/access_layer/include \
|
||||||
-I$QAT_DIR/quickassist/lookaside/access_layer/src/common/include -I$srcdir/wolfssl -I$srcdir/wolfssl/wolfcrypt/port/intel \
|
-I$QAT_DIR/quickassist/lookaside/access_layer/src/common/include -I$srcdir/wolfssl -I$srcdir/wolfssl/wolfcrypt/port/intel \
|
||||||
-I$QAT_DIR/quickassist/utilities/libusdm_drv"
|
-I$QAT_DIR/quickassist/utilities/libusdm_drv"
|
||||||
|
AM_CPPFLAGS="$AM_CPPFLAGS $QAT_FLAGS"
|
||||||
CPPFLAGS="$AM_CPPFLAGS"
|
CPPFLAGS="$AM_CPPFLAGS"
|
||||||
|
|
||||||
LDFLAGS="$LDFLAGS -L$QAT_DIR/build"
|
LDFLAGS="$LDFLAGS -L$QAT_DIR/build"
|
||||||
@@ -8720,6 +8721,10 @@ if test "$ENABLED_OPENSSLEXTRA" = "yes" && test "$ENABLED_LINUXKM" = "no"
|
|||||||
then
|
then
|
||||||
SAVE_CFLAGS=$CFLAGS
|
SAVE_CFLAGS=$CFLAGS
|
||||||
CFLAGS="$CFLAGS -I$srcdir"
|
CFLAGS="$CFLAGS -I$srcdir"
|
||||||
|
if test "$ENABLED_INTEL_QA" = "yes"
|
||||||
|
then
|
||||||
|
CFLAGS="$CFLAGS $QAT_FLAGS"
|
||||||
|
fi
|
||||||
build_pwd="$(pwd)"
|
build_pwd="$(pwd)"
|
||||||
cd "$srcdir"
|
cd "$srcdir"
|
||||||
openssl_headers=$(echo wolfssl/openssl/*.h)
|
openssl_headers=$(echo wolfssl/openssl/*.h)
|
||||||
|
Reference in New Issue
Block a user