1config BR2_PACKAGE_PETITBOOT 2 bool "petitboot" 3 depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS || BR2_PACKAGE_KEXEC_LITE_ARCH_SUPPORTS 4 depends on BR2_USE_MMU # lvm2 5 depends on BR2_USE_WCHAR # elfutils, kexec-lite 6 depends on !BR2_STATIC_LIBS # elfutils, kexec-lite, lvm2 7 depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, kexec-lite, lvm2 8 depends on BR2_PACKAGE_HAS_UDEV 9 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 || !BR2_PACKAGE_KEXEC_ARCH_SUPPORTS # kexec 10 select BR2_PACKAGE_ELFUTILS 11 select BR2_PACKAGE_LVM2 # devmapper 12 select BR2_PACKAGE_NCURSES 13 select BR2_PACKAGE_NCURSES_WCHAR 14 # run-time dependencies 15 select BR2_PACKAGE_KEXEC if !BR2_PACKAGE_KEXEC_LITE_ARCH_SUPPORTS 16 select BR2_PACKAGE_KEXEC_LITE if BR2_PACKAGE_KEXEC_LITE_ARCH_SUPPORTS && !BR2_PACKAGE_KEXEC 17 select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC 18 select BR2_PACKAGE_NVME if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le ) 19 select BR2_PACKAGE_POWERPC_UTILS if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le ) 20 help 21 Petitboot is a small kexec-based bootloader 22 23 NOTE: petitboot looks best in a UTF-8 locale; be sure there 24 is one listed in BR2_GENERATE_LOCALE. 25 26 http://www.kernel.org/pub/linux/kernel/people/geoff/petitboot/petitboot.html 27 28if BR2_PACKAGE_PETITBOOT 29 30config BR2_PACKAGE_PETITBOOT_GETTY_PORT 31 string "TTY port(s)" 32 default "console" 33 help 34 Specify a space-separated list of ports to run the petitboot 35 UI on. Wildcards are allowed. Example: "hvc* ttys0 ttyS*" 36 37endif # BR2_PACKAGE_PETITBOOT 38 39comment "petitboot needs a toolchain w/ wchar, dynamic library, threads, udev /dev management" 40 depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS 41 depends on BR2_USE_MMU 42 depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS || \ 43 !BR2_TOOLCHAIN_HAS_THREADS || \ 44 !BR2_PACKAGE_HAS_UDEV 45 46comment "petitboot w/ kexec needs a toolchain w/ headers >= 3.17" 47 depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS && !BR2_PACKAGE_KEXEC_LITE_ARCH_SUPPORTS 48 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 49