diff options
| author | Ross Burton <ross.burton@arm.com> | 2024-11-29 17:38:03 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-29 22:13:25 +0000 |
| commit | 2a163834b025bb3bb39f019d4f9d283a68de1526 (patch) | |
| tree | 94e9487fb35849e4561e4da0aa29730b30061f94 | |
| parent | e18c3d72d6d5daf3f4c71db68edd9a26a771fd43 (diff) | |
| download | poky-2a163834b025bb3bb39f019d4f9d283a68de1526.tar.gz | |
gnu-efi: upgrade to 4.0.0
gnu-efi isn't making releases on SourceForge anymore, so switch to git
clones and track releases on GitHub.
License-Update: "Copright" typo fixed.
(From OE-Core rev: 958a1e5e911a3cd7912f9207528a2c9d61c2af6a)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-bsp/gnu-efi/gnu-efi/0002-Do-not-treat-warnings-as-errors.patch | 13 | ||||
| -rw-r--r-- | meta/recipes-bsp/gnu-efi/gnu-efi_4.0.0.bb (renamed from meta/recipes-bsp/gnu-efi/gnu-efi_3.0.18.bb) | 26 |
2 files changed, 17 insertions, 22 deletions
diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi/0002-Do-not-treat-warnings-as-errors.patch b/meta/recipes-bsp/gnu-efi/gnu-efi/0002-Do-not-treat-warnings-as-errors.patch index 37befc8b4c..84966c484e 100644 --- a/meta/recipes-bsp/gnu-efi/gnu-efi/0002-Do-not-treat-warnings-as-errors.patch +++ b/meta/recipes-bsp/gnu-efi/gnu-efi/0002-Do-not-treat-warnings-as-errors.patch | |||
| @@ -15,18 +15,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) | 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 16 | 16 | ||
| 17 | diff --git a/Make.defaults b/Make.defaults | 17 | diff --git a/Make.defaults b/Make.defaults |
| 18 | index 0068e31..b643285 100755 | 18 | index 1347aca..1834d1c 100755 |
| 19 | --- a/Make.defaults | 19 | --- a/Make.defaults |
| 20 | +++ b/Make.defaults | 20 | +++ b/Make.defaults |
| 21 | @@ -190,7 +190,7 @@ CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \ | 21 | @@ -262,3 +262,3 @@ CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \ |
| 22 | -funsigned-char -fshort-wchar -fno-strict-aliasing \ | ||
| 23 | -ffreestanding -fno-stack-protector | ||
| 24 | else | 22 | else |
| 25 | -CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror \ | 23 | -CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror \ |
| 26 | +CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Wno-pointer-sign \ | 24 | +CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Wno-pointer-sign \ |
| 27 | -funsigned-char -fshort-wchar -fno-strict-aliasing \ | 25 | -fno-strict-aliasing \ |
| 28 | -ffreestanding -fno-stack-protector -fno-stack-check \ | ||
| 29 | $(if $(findstring gcc,$(CC)),-fno-merge-all-constants,) | ||
| 30 | -- | ||
| 31 | 2.25.1 | ||
| 32 | |||
diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.18.bb b/meta/recipes-bsp/gnu-efi/gnu-efi_4.0.0.bb index db77f30aaf..29d9e695a9 100644 --- a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.18.bb +++ b/meta/recipes-bsp/gnu-efi/gnu-efi_4.0.0.bb | |||
| @@ -3,24 +3,26 @@ HOMEPAGE = "http://sourceforge.net/projects/gnu-efi/" | |||
| 3 | DESCRIPTION = "GNU-EFI aims to Develop EFI applications for ARM-64, ARM-32, x86_64, IA-64 (IPF), IA-32 (x86), and MIPS platforms using the GNU toolchain and the EFI development environment." | 3 | DESCRIPTION = "GNU-EFI aims to Develop EFI applications for ARM-64, ARM-32, x86_64, IA-64 (IPF), IA-32 (x86), and MIPS platforms using the GNU toolchain and the EFI development environment." |
| 4 | SECTION = "devel" | 4 | SECTION = "devel" |
| 5 | LICENSE = "GPL-2.0-or-later & BSD-2-Clause" | 5 | LICENSE = "GPL-2.0-or-later & BSD-2-Clause" |
| 6 | LIC_FILES_CHKSUM = "file://gnuefi/crt0-efi-arm.S;beginline=4;endline=16;md5=e582764a4776e60c95bf9ab617343d36 \ | 6 | LIC_FILES_CHKSUM = "file://gnuefi/crt0-efi-arm.S;beginline=4;endline=16;md5=8b0a86085b86eda7a3c7e8a1eb7ec753 \ |
| 7 | file://gnuefi/crt0-efi-aarch64.S;beginline=4;endline=16;md5=e582764a4776e60c95bf9ab617343d36 \ | 7 | file://gnuefi/crt0-efi-aarch64.S;beginline=4;endline=16;md5=8b0a86085b86eda7a3c7e8a1eb7ec753 \ |
| 8 | file://inc/efishellintf.h;beginline=13;endline=20;md5=202766b79d708eff3cc70fce15fb80c7 \ | 8 | file://inc/efishellintf.h;beginline=13;endline=20;md5=ee14c1530c341a7050837adead6bc9a5 \ |
| 9 | file://lib/arm/math.c;beginline=2;endline=15;md5=8ed772501da77b2b3345aa6df8744c9e \ | 9 | file://lib/arm/math.c;beginline=2;endline=15;md5=ccb5c6b51053d1ee7277539ec38513d7 \ |
| 10 | file://lib/arm/initplat.c;beginline=2;endline=15;md5=8ed772501da77b2b3345aa6df8744c9e \ | 10 | file://lib/arm/initplat.c;beginline=2;endline=15;md5=ccb5c6b51053d1ee7277539ec38513d7 \ |
| 11 | file://lib/aarch64/math.c;beginline=2;endline=15;md5=8ed772501da77b2b3345aa6df8744c9e \ | 11 | file://lib/aarch64/math.c;beginline=2;endline=15;md5=ccb5c6b51053d1ee7277539ec38513d7 \ |
| 12 | file://lib/aarch64/initplat.c;beginline=2;endline=15;md5=8ed772501da77b2b3345aa6df8744c9e \ | 12 | file://lib/aarch64/initplat.c;beginline=2;endline=15;md5=ccb5c6b51053d1ee7277539ec38513d7 \ |
| 13 | " | 13 | " |
| 14 | 14 | ||
| 15 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/files/${BP}.tar.bz2 \ | 15 | COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*|riscv64.*)-linux" |
| 16 | COMPATIBLE_HOST:armv4 = 'null' | ||
| 17 | |||
| 18 | SRC_URI = "git://github.com/ncroxon/gnu-efi;protocol=https;branch=master \ | ||
| 16 | file://0002-Do-not-treat-warnings-as-errors.patch \ | 19 | file://0002-Do-not-treat-warnings-as-errors.patch \ |
| 17 | " | 20 | " |
| 18 | SRC_URI[sha256sum] = "7f212c96ee66547eeefb531267b641e5473d7d8529f0bd8ccdefd33cf7413f5c" | 21 | SRCREV = "5ea320f0f01c8de8f9dd4e4e38a245608f0287dd" |
| 19 | 22 | ||
| 20 | inherit sourceforge-releases | 23 | S = "${WORKDIR}/git" |
| 21 | 24 | ||
| 22 | COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*|riscv64.*)-linux" | 25 | inherit github-releases |
| 23 | COMPATIBLE_HOST:armv4 = 'null' | ||
| 24 | 26 | ||
| 25 | do_configure:linux-gnux32:prepend() { | 27 | do_configure:linux-gnux32:prepend() { |
| 26 | cp ${STAGING_INCDIR}/gnu/stubs-x32.h ${STAGING_INCDIR}/gnu/stubs-64.h | 28 | cp ${STAGING_INCDIR}/gnu/stubs-x32.h ${STAGING_INCDIR}/gnu/stubs-64.h |
