config BR2_PACKAGE_GST_PLUGIN_X170
	bool "gst-plugin-x170"
	depends on BR2_arm926t
	# glibc toolchain includes WCHAR and threading for libglib2
	depends on BR2_TOOLCHAIN_USES_GLIBC # on2-8170-libs
	depends on BR2_LINUX_KERNEL # on2-8170-libs
	select BR2_PACKAGE_ON2_8170_LIBS
	help
	  GStreamer plug-in to use the Hantro X170 video decoder present on
	  ATMEL AT91SAM9M10 SoC.

	  http://www.at91.com/linux4sam/bin/view/Linux4SAM/SAM9M10Gstreamer

comment "gst-plugin-x170 needs an (e)glibc toolchain and a Linux kernel to be built"
	depends on BR2_arm926t
	depends on !BR2_LINUX_KERNEL || !BR2_TOOLCHAIN_USES_GLIBC
