xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/efibootmgr/efibootmgr_17.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1DESCRIPTION = "Linux user-space application to modify the EFI Boot Manager."
2SUMMARY = "EFI Boot Manager"
3HOMEPAGE = "https://github.com/rhboot/efibootmgr"
4SECTION = "base"
5
6LICENSE = "GPL-2.0-or-later"
7LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
8
9DEPENDS = "efivar popt"
10
11COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
12
13SRC_URI = "git://github.com/rhinstaller/efibootmgr.git;protocol=https;branch=master \
14           file://0001-remove-extra-decl.patch \
15           file://97668ae0bce776a36ea2001dea63d376be8274ac.patch \
16           file://0001-src-make-compatible-with-efivar-38.patch \
17           "
18SRCREV = "e067160ecef8208e1944002e5d50b275733211fb"
19
20S = "${WORKDIR}/git"
21
22inherit 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.
26EFIDIR ?= "/"
27
28EXTRA_OEMAKE += "'EFIDIR=${EFIDIR}'"
29
30CFLAGS += " -Wno-error"
31
32do_install () {
33	oe_runmake install DESTDIR="${D}"
34}
35
36CLEANBROKEN = "1"
37
38