diff --git a/components/drivers/hwcrypto/Kconfig b/components/drivers/hwcrypto/Kconfig index e5748c998d7..375ba6a5644 100644 --- a/components/drivers/hwcrypto/Kconfig +++ b/components/drivers/hwcrypto/Kconfig @@ -163,3 +163,7 @@ menuconfig RT_USING_HWCRYPTO default n endif endif + +if RT_USING_DM && RT_USING_HWCRYPTO + osource "$(SOC_DM_HWCRYPTO_DIR)/Kconfig" +endif