xref: /OK3568_Linux_fs/buildroot/package/usbguard/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_USBGUARD
2*4882a593Smuzhiyun	bool "usbguard"
3*4882a593Smuzhiyun	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf
4*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP # protobuf
5*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS # libqb, protobuf
6*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf
7*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # libqb, protobuf
8*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_USES_MUSL
9*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
10*4882a593Smuzhiyun	select BR2_PACKAGE_PROTOBUF
11*4882a593Smuzhiyun	select BR2_PACKAGE_LIBQB
12*4882a593Smuzhiyun	select BR2_PACKAGE_LIBSODIUM if !BR2_PACKAGE_LIBGCRYPT && !BR2_PACKAGE_LIBOPENSSL
13*4882a593Smuzhiyun	help
14*4882a593Smuzhiyun	  The USBGuard software framework
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun	  Install a custom accept/deny list in /etc/usbguard/rules.conf
17*4882a593Smuzhiyun	  (e.g. using an overlay). This file can be generated on the
18*4882a593Smuzhiyun	  target using "usbguard generate-policy".
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun	  https://usbguard.github.io/
21*4882a593Smuzhiyun
22*4882a593Smuzhiyuncomment "usbguard needs a glibc or uClibc toolchain w/ C++, threads, dynamic library, gcc >= 4.8"
23*4882a593Smuzhiyun	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
24*4882a593Smuzhiyun		|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \
25*4882a593Smuzhiyun		|| BR2_TOOLCHAIN_USES_MUSL
26*4882a593Smuzhiyun	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
27*4882a593Smuzhiyun
28*4882a593Smuzhiyuncomment "usbguard needs a toolchain not affected by GCC bug 64735"
29*4882a593Smuzhiyun	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
30*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
31