| config BR2_PACKAGE_PETITBOOT |
| bool "petitboot" |
| # petitboot needs udev /dev management |
| depends on BR2_PACKAGE_HAS_UDEV |
| select BR2_PACKAGE_LVM2 |
| select BR2_PACKAGE_NCURSES |
| select BR2_PACKAGE_NCURSES_TARGET_PANEL |
| select BR2_PACKAGE_NCURSES_TARGET_FORM |
| select BR2_PACKAGE_NCURSES_TARGET_MENU |
| # run-time dependency only |
| select BR2_PACKAGE_KEXEC_LITE if !BR2_PACKAGE_KEXEC |
| # run-time dependency only |
| select BR2_PACKAGE_POWERPC_UTILS if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le |
| # run-time dependency only |
| select BR2_PACKAGE_NVME if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le |
| help |
| Petitboot is a small kexec-based bootloader |
| |
| http://www.kernel.org/pub/linux/kernel/people/geoff/petitboot/petitboot.html |
| |
| comment "petitboot requires udev to be enabled" |
| depends on !BR2_PACKAGE_HAS_UDEV |
| |
| config BR2_PACKAGE_PETITBOOT_MTD |
| bool "petitboot-mtd" |
| depends on BR2_PACKAGE_PETITBOOT |
| select BR2_PACKAGE_LIBFLASH |
| select BR2_PACKAGE_PFLASH |
| help |
| Adds Petitboot support for MTD devices |
| |
| comment "Add support for accessing MTD devices" |