Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 1 | SUMMARY = "Tools to manipulate UEFI variables" |
| 2 | DESCRIPTION = "efivar provides a simple command line interface to the UEFI variable facility" |
| 3 | HOMEPAGE = "https://github.com/rhboot/efivar" |
| 4 | |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 5 | LICENSE = "LGPL-2.1-or-later" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=6626bb1e20189cfa95f2c508ba286393" |
| 7 | |
| 8 | COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" |
| 9 | |
| 10 | SRC_URI = "git://github.com/rhinstaller/efivar.git;branch=main;protocol=https \ |
| 11 | file://0001-docs-do-not-build-efisecdb-manpage.patch \ |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 12 | " |
Patrick Williams | 3965356 | 2024-03-01 08:54:02 -0600 | [diff] [blame] | 13 | SRCREV = "c47820c37ac26286559ec004de07d48d05f3308c" |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 14 | PV .= "+39+git" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 15 | |
| 16 | S = "${WORKDIR}/git" |
| 17 | |
| 18 | inherit pkgconfig |
| 19 | |
| 20 | export CCLD_FOR_BUILD = "${BUILD_CCLD}" |
| 21 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 22 | do_compile() { |
| 23 | oe_runmake ERRORS= HOST_CFLAGS="${BUILD_CFLAGS}" HOST_LDFLAGS="${BUILD_LDFLAGS}" |
| 24 | } |
| 25 | |
| 26 | do_install() { |
| 27 | oe_runmake install DESTDIR=${D} |
| 28 | } |
| 29 | |
| 30 | BBCLASSEXTEND = "native" |
| 31 | |
| 32 | RRECOMMENDS:${PN}:class-target = "kernel-module-efivarfs" |
| 33 | |
| 34 | CLEANBROKEN = "1" |