From 4564b777ff44071c3d23c75da7c6c0b75cfe99ba Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 28 Feb 2024 15:32:13 +0800 Subject: efivar: upgrade 38 -> 39 Changelog: ========== -Add -T workaround for GNU ld 2.36 -Add extern "C" to headers for easier use by C++ -Avoid format error on i686 -Fix the -march issue for riscv64 -Fix musl build -Fix invalid free in main() -Remove deprecated --add-needed linker flag -src/Makefile: build util.c separately for makeguids -Adjust dependency for libefivar and libefiboot objects -Set LC_ALL=C to force English output from ld -LLD: fix detection and remove not needed workarounds -Fix glibc 2.36 build (mount.h conflicts) -File device paths: don't print "File(" or ")" -Use off_t instead of off64_t -Revamp efi_well_known_* variable handling -Allow overriding PKG_CONFIG -Allow passing of hex values to -A -Allow -a to create a non-existent variable -make: add option to disable building/installing the docs -esl-iter.h: fix type declaration of return value for gcc-13 -Minor code updates -src/Makefile: do not override LIBS and CFLAGS for prerequisites -linux: handle non-ACPI systems in device_get() -Change set&append data to be const. -dp.h: check _ucs2size in format_ucs2() -Fix wrong if condition in efi_variable_get_data -Make README statement match license -Remove needless access() in efivarfs_probe() (From OE-Core rev: d8fdd64d13d5598b16ddf7329d5ca283ec7da518) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- meta/recipes-bsp/efivar/efivar_38.bb | 34 ---------------------------------- meta/recipes-bsp/efivar/efivar_39.bb | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 34 deletions(-) delete mode 100644 meta/recipes-bsp/efivar/efivar_38.bb create mode 100644 meta/recipes-bsp/efivar/efivar_39.bb (limited to 'meta/recipes-bsp') diff --git a/meta/recipes-bsp/efivar/efivar_38.bb b/meta/recipes-bsp/efivar/efivar_38.bb deleted file mode 100644 index d88eb3fef5..0000000000 --- a/meta/recipes-bsp/efivar/efivar_38.bb +++ /dev/null @@ -1,34 +0,0 @@ -SUMMARY = "Tools to manipulate UEFI variables" -DESCRIPTION = "efivar provides a simple command line interface to the UEFI variable facility" -HOMEPAGE = "https://github.com/rhboot/efivar" - -LICENSE = "LGPL-2.1-or-later" -LIC_FILES_CHKSUM = "file://COPYING;md5=6626bb1e20189cfa95f2c508ba286393" - -COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" - -SRC_URI = "git://github.com/rhinstaller/efivar.git;branch=main;protocol=https \ - file://0001-docs-do-not-build-efisecdb-manpage.patch \ - " -SRCREV = "90e88b221e8bc60dc50f3246051369b8f580c0d0" -PV .= "+39+git" - -S = "${WORKDIR}/git" - -inherit pkgconfig - -export CCLD_FOR_BUILD = "${BUILD_CCLD}" - -do_compile() { - oe_runmake ERRORS= HOST_CFLAGS="${BUILD_CFLAGS}" HOST_LDFLAGS="${BUILD_LDFLAGS}" -} - -do_install() { - oe_runmake install DESTDIR=${D} -} - -BBCLASSEXTEND = "native" - -RRECOMMENDS:${PN}:class-target = "kernel-module-efivarfs" - -CLEANBROKEN = "1" diff --git a/meta/recipes-bsp/efivar/efivar_39.bb b/meta/recipes-bsp/efivar/efivar_39.bb new file mode 100644 index 0000000000..aab319be91 --- /dev/null +++ b/meta/recipes-bsp/efivar/efivar_39.bb @@ -0,0 +1,34 @@ +SUMMARY = "Tools to manipulate UEFI variables" +DESCRIPTION = "efivar provides a simple command line interface to the UEFI variable facility" +HOMEPAGE = "https://github.com/rhboot/efivar" + +LICENSE = "LGPL-2.1-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=6626bb1e20189cfa95f2c508ba286393" + +COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" + +SRC_URI = "git://github.com/rhinstaller/efivar.git;branch=main;protocol=https \ + file://0001-docs-do-not-build-efisecdb-manpage.patch \ + " +SRCREV = "c47820c37ac26286559ec004de07d48d05f3308c" +PV .= "+39+git" + +S = "${WORKDIR}/git" + +inherit pkgconfig + +export CCLD_FOR_BUILD = "${BUILD_CCLD}" + +do_compile() { + oe_runmake ERRORS= HOST_CFLAGS="${BUILD_CFLAGS}" HOST_LDFLAGS="${BUILD_LDFLAGS}" +} + +do_install() { + oe_runmake install DESTDIR=${D} +} + +BBCLASSEXTEND = "native" + +RRECOMMENDS:${PN}:class-target = "kernel-module-efivarfs" + +CLEANBROKEN = "1" -- cgit v1.2.3-54-g00ecf