diff options
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-bsp/efibootmgr/efibootmgr_17.bb')
-rw-r--r-- | meta-openembedded/meta-oe/recipes-bsp/efibootmgr/efibootmgr_17.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-openembedded/meta-oe/recipes-bsp/efibootmgr/efibootmgr_17.bb b/meta-openembedded/meta-oe/recipes-bsp/efibootmgr/efibootmgr_17.bb new file mode 100644 index 0000000000..4edb2e6644 --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-bsp/efibootmgr/efibootmgr_17.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "Linux user-space application to modify the EFI Boot Manager." +SUMMARY = "EFI Boot Manager" +HOMEPAGE = "https://github.com/rhinstaller/efibootmgr" +SECTION = "base" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" + +DEPENDS = "pciutils zlib efivar" + +COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" + +SRCREV = "e067160ecef8208e1944002e5d50b275733211fb" +SRC_URI = "git://github.com/rhinstaller/efibootmgr.git;protocol=https \ + file://0001-remove-extra-decl.patch \ + " +S = "${WORKDIR}/git" + +inherit pkgconfig + +EXTRA_OEMAKE = "'EFIDIR=/' 'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/src/include `pkg-config --cflags efivar`'" + +CFLAGS_append_toolchain-clang = " -Wno-error" +do_install () { + install -D -p -m0755 ${B}/src/efibootmgr ${D}/${sbindir}/efibootmgr +} + +CLEANBROKEN = "1" |