Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 1 | DESCRIPTION = "Linux user-space application to modify the EFI Boot Manager." |
| 2 | SUMMARY = "EFI Boot Manager" |
| 3 | HOMEPAGE = "https://github.com/rhboot/efibootmgr" |
| 4 | SECTION = "base" |
| 5 | |
| 6 | LICENSE = "GPLv2+" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" |
| 8 | |
| 9 | DEPENDS = "efivar popt" |
| 10 | |
| 11 | COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" |
| 12 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 13 | SRC_URI = "git://github.com/rhinstaller/efibootmgr.git;protocol=https;branch=master \ |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 14 | file://0001-remove-extra-decl.patch \ |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 15 | file://97668ae0bce776a36ea2001dea63d376be8274ac.patch \ |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 16 | file://0001-src-make-compatible-with-efivar-38.patch \ |
| 17 | " |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 18 | SRCREV = "e067160ecef8208e1944002e5d50b275733211fb" |
| 19 | |
| 20 | S = "${WORKDIR}/git" |
| 21 | |
| 22 | inherit pkgconfig |
| 23 | |
| 24 | # The directory under the ESP that the default bootloader is found in. When |
| 25 | # wic uses a subdirectory, this should use the same one too. |
| 26 | EFIDIR ?= "/" |
| 27 | |
| 28 | EXTRA_OEMAKE += "'EFIDIR=${EFIDIR}'" |
| 29 | |
| 30 | CFLAGS += " -Wno-error" |
| 31 | |
| 32 | do_install () { |
| 33 | oe_runmake install DESTDIR="${D}" |
| 34 | } |
| 35 | |
| 36 | CLEANBROKEN = "1" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 37 | # https://github.com/rhboot/efivar/issues/202 |
| 38 | COMPATIBLE_HOST:libc-musl = 'null' |
| 39 | |