diff --git a/package/ntpsec/Config.in b/package/ntpsec/Config.in index 1e88046420..c81673481e 100644 --- a/package/ntpsec/Config.in +++ b/package/ntpsec/Config.in @@ -1,5 +1,9 @@ config BR2_PACKAGE_NTPSEC bool "ntpsec" + depends on BR2_USE_MMU # python3 + depends on BR2_USE_WCHAR # python3 + depends on BR2_TOOLCHAIN_HAS_THREADS # python3 + depends on !BR2_STATIC_LIBS # python3 select BR2_PACKAGE_LIBCAP select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_PYTHON3 @@ -26,3 +30,8 @@ config BR2_PACKAGE_NTPSEC_NTS Enable Network Time Security (NTS) support. endif + +comment "ntpsec needs a toolchain w/ wchar, threads, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS