|
@@ -2,10 +2,11 @@ config BR2_PACKAGE_PETITBOOT
|
|
|
bool "petitboot"
|
|
|
depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS || BR2_PACKAGE_KEXEC_LITE_ARCH_SUPPORTS
|
|
|
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_USE_WCHAR # elfutils, kexec-lite
|
|
|
+ depends on !BR2_STATIC_LIBS # elfutils, kexec-lite, lvm2
|
|
|
+ depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, kexec-lite, lvm2
|
|
|
depends on BR2_PACKAGE_HAS_UDEV
|
|
|
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 || !BR2_PACKAGE_KEXEC_ARCH_SUPPORTS # kexec
|
|
|
select BR2_PACKAGE_ELFUTILS
|
|
|
select BR2_PACKAGE_LVM2 # devmapper
|
|
|
select BR2_PACKAGE_NCURSES
|
|
@@ -36,3 +37,7 @@ comment "petitboot needs a toolchain w/ wchar, dynamic library, threads, udev /d
|
|
|
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS || \
|
|
|
!BR2_TOOLCHAIN_HAS_THREADS || \
|
|
|
!BR2_PACKAGE_HAS_UDEV
|
|
|
+
|
|
|
+comment "petitboot w/ kexec needs a toolchain w/ headers >= 3.17"
|
|
|
+ depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS && !BR2_PACKAGE_KEXEC_LITE_ARCH_SUPPORTS
|
|
|
+ depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
|