config BR2_PACKAGE_SPIRV_TOOLS
	bool "spirv-tools"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on !BR2_STATIC_LIBS
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++17 filesystem
	select BR2_PACKAGE_SPIRV_HEADERS
	help
	  The SPIR-V Tools project provides an API and commands for
	  processing SPIR-V modules.

	  https://github.com/KhronosGroup/SPIRV-Tools

comment "spirv-tools needs a toolchain w/ C++, dynamic library, gcc >= 8"
	depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_8
