1*39653566SPatrick WilliamsSUMMARY = "Tools to manipulate UEFI variables" 2*39653566SPatrick WilliamsDESCRIPTION = "efivar provides a simple command line interface to the UEFI variable facility" 3*39653566SPatrick WilliamsHOMEPAGE = "https://github.com/rhboot/efivar" 4*39653566SPatrick Williams 5*39653566SPatrick WilliamsLICENSE = "LGPL-2.1-or-later" 6*39653566SPatrick WilliamsLIC_FILES_CHKSUM = "file://COPYING;md5=6626bb1e20189cfa95f2c508ba286393" 7*39653566SPatrick Williams 8*39653566SPatrick WilliamsCOMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" 9*39653566SPatrick Williams 10*39653566SPatrick WilliamsSRC_URI = "git://github.com/rhinstaller/efivar.git;branch=main;protocol=https \ 11*39653566SPatrick Williams file://0001-docs-do-not-build-efisecdb-manpage.patch \ 12*39653566SPatrick Williams " 13*39653566SPatrick WilliamsSRCREV = "c47820c37ac26286559ec004de07d48d05f3308c" 14*39653566SPatrick WilliamsPV .= "+39+git" 15*39653566SPatrick Williams 16*39653566SPatrick WilliamsS = "${WORKDIR}/git" 17*39653566SPatrick Williams 18*39653566SPatrick Williamsinherit pkgconfig 19*39653566SPatrick Williams 20*39653566SPatrick Williamsexport CCLD_FOR_BUILD = "${BUILD_CCLD}" 21*39653566SPatrick Williams 22*39653566SPatrick Williamsdo_compile() { 23*39653566SPatrick Williams oe_runmake ERRORS= HOST_CFLAGS="${BUILD_CFLAGS}" HOST_LDFLAGS="${BUILD_LDFLAGS}" 24*39653566SPatrick Williams} 25*39653566SPatrick Williams 26*39653566SPatrick Williamsdo_install() { 27*39653566SPatrick Williams oe_runmake install DESTDIR=${D} 28*39653566SPatrick Williams} 29*39653566SPatrick Williams 30*39653566SPatrick WilliamsBBCLASSEXTEND = "native" 31*39653566SPatrick Williams 32*39653566SPatrick WilliamsRRECOMMENDS:${PN}:class-target = "kernel-module-efivarfs" 33*39653566SPatrick Williams 34*39653566SPatrick WilliamsCLEANBROKEN = "1" 35