pkg/tinydtls: fix detection of Kconfig usage

This commit is contained in:
Leandro Lanzieri 2021-09-21 11:57:31 +02:00
parent b6dee72161
commit 450884acf5
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593

View File

@ -28,7 +28,7 @@ ifeq (,$(filter posix_sockets,$(USEMODULE)))
endif
# Default cipher suite when not using Kconfig
ifeq (,$(CONFIG_KCONFIG_PKG_TINYDTLS))
ifeq (,$(CONFIG_KCONFIG_USEPKG_TINYDTLS))
# NOTE: PSK should be enabled by default BUT if the user define any other cipher
# suite(s) it should not be enabled.
# TODO: Create the flag DTLS_CIPHERS with keywords PSK, ECC (and future)