config BR2_PACKAGE_YAML_CPP
	bool "yaml-cpp"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_HAS_THREADS # boost
	depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
	depends on BR2_USE_WCHAR # boost
	select BR2_PACKAGE_BOOST
	help
	  yaml-cpp is a YAML parser and emitter in C++ matching
	  the YAML 1.2 spec.

	  https://code.google.com/p/yaml-cpp/

comment "yaml-cpp needs a toolchain w/ C++, threads, wchar"
	depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
