a97c1925b2
This will make it easier to handle packages that want to select kexec-lite. It also fixes the current inconsistency in the comment: it was not displayed for powerpc64le. Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
29 lines
940 B
Plaintext
29 lines
940 B
Plaintext
config BR2_PACKAGE_KEXEC_LITE_ARCH_SUPPORTS
|
|
bool
|
|
default y
|
|
depends on BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
|
|
|
|
config BR2_PACKAGE_KEXEC_LITE
|
|
bool "kexec-lite"
|
|
depends on BR2_PACKAGE_KEXEC_LITE_ARCH_SUPPORTS
|
|
depends on !BR2_STATIC_LIBS # dtc, elfutils
|
|
depends on BR2_USE_WCHAR # elfutils
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # 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.
|
|
|
|
https://github.com/antonblanchard/kexec-lite
|
|
|
|
comment "kexec-lite needs a toolchain w/ wchar, dynamic library, threads"
|
|
depends on BR2_PACKAGE_KEXEC_LITE_ARCH_SUPPORTS
|
|
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR \
|
|
|| !BR2_TOOLCHAIN_HAS_THREADS
|