summaryrefslogtreecommitdiffstats
path: root/package/efibootmgr/Config.in
diff options
context:
space:
mode:
authorErico Nunes <nunes.erico@gmail.com>2016-04-20 22:23:56 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-06-12 18:31:01 +0200
commitc2d8af430d6ed9b52117e2546d7a4ae8a51d2f87 (patch)
treebeeeea100e00ddd403e1a6c0822637cb70aee66a /package/efibootmgr/Config.in
parent562dd6c70a09f5481c289a4178e3247d80421688 (diff)
downloadbuildroot-c2d8af430d6ed9b52117e2546d7a4ae8a51d2f87.tar.gz
buildroot-c2d8af430d6ed9b52117e2546d7a4ae8a51d2f87.zip
efibootmgr: new package
A Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager. This application can create and destroy boot entries, change the boot order, change the next running boot option, and more. The only issue found was that it was trying to include headers from the host, so $(STAGING_DIR) has been prepended to the include path so that the package finds the right headers. efibootmgr depends on the libraries provided by efivar. Signed-off-by: Erico Nunes <nunes.erico@gmail.com> [Thomas: - change the "depends on" for efivar to a "select", and propagate the relevant dependencies. - the license is GPLv2+, not GPLv2. - move the Makefile tweak to a post-patch hook rather than doing it as part of the build step.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/efibootmgr/Config.in')
-rw-r--r--package/efibootmgr/Config.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/efibootmgr/Config.in b/package/efibootmgr/Config.in
new file mode 100644
index 0000000000..cb1b18e787
--- /dev/null
+++ b/package/efibootmgr/Config.in
@@ -0,0 +1,16 @@
+config BR2_PACKAGE_EFIBOOTMGR
+ bool "efibootmgr"
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # efivar
+ depends on BR2_TOOLCHAIN_USES_GLIBC # efivar
+ select BR2_PACKAGE_EFIVAR
+ help
+ A Linux user-space application to modify the Intel Extensible
+ Firmware Interface (EFI) Boot Manager. This application can create
+ and destroy boot entries, change the boot order, change the next
+ running boot option, and more.
+
+ https://github.com/rhinstaller/efibootmgr
+
+comment "efibootmgr requires an (e)glibc toolchain w/ headers >= 3.12"
+ depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 || \
+ !BR2_TOOLCHAIN_USES_GLIBC
OpenPOWER on IntegriCloud