drivers: crypto: add missing CMakeLists.txt file
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/drivers/CMakeLists.txt b/drivers/CMakeLists.txt
index effa3be..80f43ec 100644
--- a/drivers/CMakeLists.txt
+++ b/drivers/CMakeLists.txt
@@ -6,6 +6,7 @@
add_subdirectory_if_kconfig(adc)
add_subdirectory_if_kconfig(clock_control)
add_subdirectory_if_kconfig(counter)
+add_subdirectory_if_kconfig(crypto)
add_subdirectory_if_kconfig(dma)
add_subdirectory_if_kconfig(flash)
add_subdirectory_if_kconfig(gpio)
diff --git a/drivers/crypto/CMakeLists.txt b/drivers/crypto/CMakeLists.txt
new file mode 100644
index 0000000..3208b52
--- /dev/null
+++ b/drivers/crypto/CMakeLists.txt
@@ -0,0 +1,6 @@
+zephyr_link_interface_ifdef(CONFIG_MBEDTLS mbedTLS)
+zephyr_library()
+zephyr_library_sources_ifdef(CONFIG_CRYPTO_TINYCRYPT_SHIM crypto_tc_shim.c)
+zephyr_library_sources_ifdef(CONFIG_CRYPTO_ATAES132A crypto_ataes132a.c)
+zephyr_library_sources_ifdef(CONFIG_CRYPTO_MBEDTLS_SHIM crypto_mtls_shim.c)
+zephyr_library_link_libraries_ifdef(CONFIG_MBEDTLS mbedTLS)