1 config BR2_PACKAGE_EFIVAR
3 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # linux/nvme.h
4 # linux/nvme.h has been renamed to linux/nvme_ioctl.h since 4.4,
5 # and the efivar source handles that situation. However, some
6 # Sourcery CodeBench toolchains use 4.4 kernel headers but they
7 # don't have that header file renamed, and that is causing build
8 # failures. So, prevent this package to be built using those
10 depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS && \
11 !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
12 # doesn't build with uclibc due to lack of uchar.h
13 # doesn't build with musl due to lack of __bswap_constant_16
14 depends on BR2_TOOLCHAIN_USES_GLIBC
15 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
16 select BR2_PACKAGE_POPT
18 Tools and libraries to manipulate EFI variables
20 https://github.com/rhinstaller/efivar
22 comment "efivar requires a glibc toolchain w/ headers >= 3.12, gcc >= 4.9"
23 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 || \
24 !BR2_TOOLCHAIN_USES_GLIBC || \
25 !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
26 depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS && \
27 !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII