Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [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/rhinstaller/efivar" |
| 4 | |
| 5 | LICENSE = "LGPLv2.1" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=6626bb1e20189cfa95f2c508ba286393" |
| 7 | |
| 8 | DEPENDS_class-target = "popt efivar-native" |
| 9 | |
| 10 | SRCREV = "aab6c2a64d90b6e5a63661fb5bd6be8d878b0784" |
| 11 | SRC_URI = "git://github.com/rhinstaller/efivar.git" |
| 12 | SRC_URI_append_class-target = " file://0001-efivar-fix-for-cross-compile.patch" |
| 13 | SRC_URI_append_class-native = " file://efivar-drop-options-not-supported-by-lower-version-gcc.patch" |
| 14 | |
| 15 | S = "${WORKDIR}/git" |
| 16 | |
| 17 | do_install() { |
| 18 | oe_runmake install DESTDIR=${D} |
| 19 | } |
| 20 | |
| 21 | do_compile_class-native() { |
| 22 | oe_runmake -C src makeguids |
| 23 | } |
| 24 | |
| 25 | do_install_class-native() { |
| 26 | install -D -m 0755 ${B}/src/makeguids ${D}${bindir}/makeguids |
| 27 | } |
| 28 | |
| 29 | BBCLASSEXTEND = "native" |
| 30 | |
| 31 | # See |
| 32 | # http://lists.openembedded.org/pipermail/openembedded-core/2016-February/116564.html |
| 33 | # http://lists.openembedded.org/pipermail/openembedded-core/2016-February/116571.html |
| 34 | # http://lists.openembedded.org/pipermail/openembedded-devel/2016-February/105802.html |
| 35 | # http://lists.openembedded.org/pipermail/openembedded-devel/2016-February/105786.html |
| 36 | # but it's still broken: |
| 37 | # http://lists.openembedded.org/pipermail/openembedded-devel/2016-February/105825.html |
| 38 | # http://lists.openembedded.org/pipermail/openembedded-devel/2016-February/105830.html |
| 39 | PNBLACKLIST[efivar] ?= "BROKEN: linux.c:27:30: fatal error: linux/nvme_ioctl.h: No such file or directory" |