comment "imx-lib needs an imx-specific Linux kernel to be built"
	depends on BR2_arm && !BR2_LINUX_KERNEL

config BR2_PACKAGE_IMX_LIB
	bool "imx-lib"
	depends on BR2_LINUX_KERNEL
	depends on BR2_arm # Only relevant for i.MX
	help
	  Library of userspace helpers specific for the Freescale i.MX
	  platform. It wraps the kernel interfaces for some i.MX platform
	  specific drivers. It requires a kernel that includes the i.MX
	  specific headers to be built.

	  This library is provided by Freescale as-is and doesn't have
	  an upstream.

