Config.in 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. config 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
  6. depends on !BR2_STATIC_LIBS # elfutils, lvm2
  7. depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, lvm2
  8. depends on BR2_PACKAGE_HAS_UDEV
  9. select BR2_PACKAGE_ELFUTILS
  10. select BR2_PACKAGE_LVM2 # devmapper
  11. select BR2_PACKAGE_NCURSES
  12. # run-time dependencies
  13. select BR2_PACKAGE_KEXEC if !BR2_PACKAGE_KEXEC_LITE_ARCH_SUPPORTS
  14. select BR2_PACKAGE_KEXEC_LITE if BR2_PACKAGE_KEXEC_LITE_ARCH_SUPPORTS && !BR2_PACKAGE_KEXEC
  15. select BR2_PACKAGE_NVME if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le )
  16. select BR2_PACKAGE_POWERPC_UTILS if ( BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le )
  17. help
  18. Petitboot is a small kexec-based bootloader
  19. http://www.kernel.org/pub/linux/kernel/people/geoff/petitboot/petitboot.html
  20. comment "petitboot needs a toolchain w/ wchar, dynamic library, threads, udev /dev management"
  21. depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS
  22. depends on BR2_USE_MMU
  23. depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS || \
  24. !BR2_TOOLCHAIN_HAS_THREADS || \
  25. !BR2_PACKAGE_HAS_UDEV
  26. config BR2_PACKAGE_PETITBOOT_GETTY_PORT
  27. string "TTY port(s)"
  28. default "console"
  29. depends on BR2_PACKAGE_PETITBOOT
  30. help
  31. Specify a space-separated list of ports to run the petitboot
  32. UI on. Wildcards are allowed. Example: "hvc* ttys0 ttyS*"