2023-02-01 21:48:46 +01:00
|
|
|
config BR2_PACKAGE_PETITBOOT
|
|
|
|
bool "petitboot"
|
2023-10-09 17:17:25 +02:00
|
|
|
depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS || BR2_PACKAGE_KEXEC_LITE_ARCH_SUPPORTS
|
2023-02-01 21:48:46 +01:00
|
|
|
depends on BR2_USE_MMU # lvm2
|
|
|
|
depends on BR2_USE_WCHAR # elfutils
|
|
|
|
depends on !BR2_STATIC_LIBS # elfutils, lvm2
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, lvm2
|
|
|
|
depends on BR2_PACKAGE_HAS_UDEV
|
|
|
|
select BR2_PACKAGE_ELFUTILS
|
|
|
|
select BR2_PACKAGE_LVM2 # devmapper
|
|
|
|
select BR2_PACKAGE_NCURSES
|
2023-10-09 17:17:25 +02:00
|
|
|
# run-time dependencies
|
|
|
|
select BR2_PACKAGE_KEXEC if !BR2_PACKAGE_KEXEC_LITE_ARCH_SUPPORTS
|
|
|
|
select BR2_PACKAGE_KEXEC_LITE if BR2_PACKAGE_KEXEC_LITE_ARCH_SUPPORTS && !BR2_PACKAGE_KEXEC
|
2023-02-01 21:48:46 +01:00
|
|
|
select BR2_PACKAGE_NVME if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le )
|
2023-10-09 17:17:25 +02:00
|
|
|
select BR2_PACKAGE_POWERPC_UTILS if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le )
|
2023-02-01 21:48:46 +01:00
|
|
|
help
|
|
|
|
Petitboot is a small kexec-based bootloader
|
|
|
|
|
|
|
|
http://www.kernel.org/pub/linux/kernel/people/geoff/petitboot/petitboot.html
|
|
|
|
|
2023-10-22 17:41:33 +02:00
|
|
|
comment "petitboot needs a toolchain w/ wchar, dynamic library, threads, udev /dev management"
|
2023-02-01 21:48:46 +01:00
|
|
|
depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS
|
|
|
|
depends on BR2_USE_MMU
|
|
|
|
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS || \
|
2023-10-09 17:17:22 +02:00
|
|
|
!BR2_TOOLCHAIN_HAS_THREADS || \
|
2023-02-01 21:48:46 +01:00
|
|
|
!BR2_PACKAGE_HAS_UDEV
|
2023-10-09 17:17:27 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_PETITBOOT_GETTY_PORT
|
|
|
|
string "TTY port(s)"
|
|
|
|
default "console"
|
|
|
|
depends on BR2_PACKAGE_PETITBOOT
|
|
|
|
help
|
|
|
|
Specify a space-separated list of ports to run the petitboot
|
|
|
|
UI on. Wildcards are allowed. Example: "hvc* ttys0 ttyS*"
|