diff options
Diffstat (limited to 'meta-oe/recipes-bsp/fwupd/fwupd-efi_1.3.bb')
-rw-r--r-- | meta-oe/recipes-bsp/fwupd/fwupd-efi_1.3.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.3.bb b/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.3.bb new file mode 100644 index 000000000..b53cabeae --- /dev/null +++ b/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.3.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | SUMMARY = "EFI executable for fwupd" | ||
2 | LICENSE = "LGPL-2.1-or-later" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
4 | |||
5 | SRC_URI = "git://github.com/fwupd/fwupd-efi;protocol=https;branch=main \ | ||
6 | file://cc.patch" | ||
7 | SRCREV = "36ce593f58e391cca43fd388824496ff98d83480" | ||
8 | S = "${WORKDIR}/git" | ||
9 | |||
10 | DEPENDS = "gnu-efi" | ||
11 | |||
12 | COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux" | ||
13 | |||
14 | inherit meson | ||
15 | |||
16 | # These should be configured as needed | ||
17 | SBAT_DISTRO_ID ?= "${DISTRO}" | ||
18 | SBAT_DISTRO_SUMMARY ?= "${DISTRO_NAME}" | ||
19 | SBAT_DISTRO_URL ?= "" | ||
20 | |||
21 | EXTRA_OEMESON += "-Defi-cc="${@meson_array('CC', d)}" \ | ||
22 | -Defi-ld='${HOST_PREFIX}ld' \ | ||
23 | -Defi-includedir=${STAGING_INCDIR}/efi \ | ||
24 | -Defi-libdir=${STAGING_LIBDIR} \ | ||
25 | -Defi_sbat_distro_id='${SBAT_DISTRO_ID}' \ | ||
26 | -Defi_sbat_distro_summary='${SBAT_DISTRO_SUMMARY}' \ | ||
27 | -Defi_sbat_distro_url='${SBAT_DISTRO_URL}' \ | ||
28 | -Defi_sbat_distro_pkgname='${PN}' \ | ||
29 | -Defi_sbat_distro_version='${PV}'\ | ||
30 | " | ||
31 | |||
32 | # The compile assumes GCC at present | ||
33 | TOOLCHAIN = "gcc" | ||