config BR2_PACKAGE_KEXEC_LITE
	bool "kexec-lite"
	depends on BR2_powerpc || BR2_powerpc64
	depends on !BR2_PREFER_STATIC_LIB # dtc
	depends on BR2_LARGEFILE # elfutils
	depends on BR2_USE_WCHAR # elfutils
	select BR2_PACKAGE_ELFUTILS
	select BR2_PACKAGE_DTC
	select BR2_PACKAGE_DTC_PROGRAMS
	help
	  Kexec is a user space utiltity for loading another kernel
	  and asking the currently running kernel to do something with it.

	  This package is a tiny implementation of the kexec userspace
	  components, for devicetree-based platforms.

comment "kexec-lite needs a toolchain w/ largefile, wchar, dynamic library"
	depends on BR2_powerpc || BR2_powerpc64
	depends on BR2_PREFER_STATIC_LIB || !BR2_LARGEFILE || !BR2_USE_WCHAR
