diff --git a/configure.ac b/configure.ac index 8577dbbe2..45d6ea321 100644 --- a/configure.ac +++ b/configure.ac @@ -6395,6 +6395,7 @@ AM_CONDITIONAL([BUILD_CAAM],[test "x$ENABLED_CAAM" = "xyes" || test "x$ENABLED_C AM_CONDITIONAL([BUILD_LINUXKM],[test "$ENABLED_LINUXKM" = "yes"]) AM_CONDITIONAL([BUILD_NO_LIBRARY],[test "$ENABLED_NO_LIBRARY" = "yes"]) AM_CONDITIONAL([BUILD_RC2],[test "x$ENABLED_RC2" = "xyes"]) +AM_CONDITIONAL([BUILD_QNXCAAM],[test "x$ENABLED_CAAM" = "xqnx"]) if test "$ax_enable_debug" = "yes" || test "$ENABLED_STACKSIZE" != "no" || diff --git a/wolfssl/wolfcrypt/include.am b/wolfssl/wolfcrypt/include.am index d4637af1e..6363aaeb3 100644 --- a/wolfssl/wolfcrypt/include.am +++ b/wolfssl/wolfcrypt/include.am @@ -82,11 +82,6 @@ noinst_HEADERS+= \ wolfssl/wolfcrypt/port/caam/caam_driver.h \ wolfssl/wolfcrypt/port/caam/caam_error.h \ wolfssl/wolfcrypt/port/caam/caam_qnx.h \ - wolfssl/wolfcrypt/port/caam/wolfcaam.h \ - wolfssl/wolfcrypt/port/caam/wolfcaam_sha.h \ - wolfssl/wolfcrypt/port/caam/wolfcaam_ecdsa.h \ - wolfssl/wolfcrypt/port/caam/wolfcaam_cmac.h \ - wolfssl/wolfcrypt/port/caam/wolfcaam_qnx.h \ wolfssl/wolfcrypt/port/silabs/silabs_aes.h \ wolfssl/wolfcrypt/port/silabs/silabs_ecc.h \ wolfssl/wolfcrypt/port/silabs/silabs_hash.h \ @@ -153,3 +148,11 @@ endif if BUILD_FIPS_RAND nobase_include_HEADERS+= wolfssl/wolfcrypt/fips.h endif + +if BUILD_QNXCAAM +nobase_include_HEADERS+= wolfssl/wolfcrypt/port/caam/wolfcaam.h \ + wolfssl/wolfcrypt/port/caam/wolfcaam_sha.h \ + wolfssl/wolfcrypt/port/caam/wolfcaam_ecdsa.h \ + wolfssl/wolfcrypt/port/caam/wolfcaam_cmac.h \ + wolfssl/wolfcrypt/port/caam/wolfcaam_qnx.h +endif