Skip to contentSkip to conversation

gnu-efi: upgrade to 3.0.1

PATCH In review Robert Yang 2 participants 4 messages Jan 12, 2015 – Jan 13, 2015

lore
Share & tools
lore
#0 lore raw

cover gnu-efi: upgrade to 3.0.1

The following changes since commit b61a2acc321489c3427f0afa3059486dc144a13b:

bind: Update libxml2 check to make it deterministic. (2015-01-08 09:21:18 +0000)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/gnu-efi
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/gnu-efi

Robert Yang (1):
gnu-efi: upgrade to 3.0.1

 meta/recipes-bsp/gnu-efi/gnu-efi_3.0.1.bb |   41 +++++++++++++++++++++++++++++
 meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb  |   33 -----------------------
 2 files changed, 41 insertions(+), 33 deletions(-)
 create mode 100644 meta/recipes-bsp/gnu-efi/gnu-efi_3.0.1.bb
 delete mode 100644 meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 gnu-efi: upgrade to 3.0.1

* Use the official src rather than debian.
* It doesn't have a general license file, the license is embedded in the files, which are GPLv2+ & BSD.
* Supported aarch64 and arm.

---
 meta/recipes-bsp/gnu-efi/gnu-efi_3.0.1.bb |   41 +++++++++++++++++++++++++++++
 meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb  |   33 -----------------------
 2 files changed, 41 insertions(+), 33 deletions(-)
 create mode 100644 meta/recipes-bsp/gnu-efi/gnu-efi_3.0.1.bb
 delete mode 100644 meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb
meta/recipes-bsp/gnu-efi/gnu-efi_3.0.1.bb new file +41 -0
new file mode 100644
index 0000000..9a9c143
@@ -0,0 +1,41 @@
+SUMMARY = "Libraries for producing EFI binaries"
+HOMEPAGE = "http://sourceforge.net/projects/gnu-efi/"
+SECTION = "devel"
+LICENSE = "GPLv2+ & BSD"
+LIC_FILES_CHKSUM = "file://gnuefi/crt0-efi-arm.S;beginline=4;endline=9;md5=2240d7bbdf0928294c2f4a68b14d6591 \
+                    file://gnuefi/crt0-efi-aarch64.S;beginline=4;endline=16;md5=e582764a4776e60c95bf9ab617343d36 \
+                    file://inc/efishellintf.h;beginline=13;endline=20;md5=202766b79d708eff3cc70fce15fb80c7 \
+                    file://inc/efishellparm.h;beginline=4;endline=11;md5=468b1231b05bbc84bae3a0d5774e3bb5 \
+                    file://lib/arm/div64.S;beginline=6;endline=12;md5=a96c84f5ad12b4f011f98b5d039242f2 \
+                    file://lib/arm/math.c;beginline=4;endline=10;md5=64dd1987cee1dcf59d11aa572cfa644e \
+                    file://lib/arm/initplat.c;beginline=4;endline=10;md5=64dd1987cee1dcf59d11aa572cfa644e \
+                    file://lib/arm/lib1funcs.S;beginline=9;endline=33;md5=f56d5ebbc87136bc66cfe24db82bcf01 \
+                    file://lib/aarch64/math.c;beginline=9;endline=33;md5=cfade4c560e033a7bb02dab282872c7d \
+                    file://lib/aarch64/initplat.c;beginline=9;endline=33;md5=900cb1ffbe3e1ded344102be921830f1 \
+                   "
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2 \
+           file://parallel-make.patch \
+           file://parallel-make-archives.patch \
+          "
+SRC_URI[md5sum] = "c4099c443b6b0c2b04dedc33e7814ec0"
+SRC_URI[sha256sum] = "e2e8d5940347eebfb00eaaeef107a8ba59e7838e40bc716c74d9a36fff648f1f"
+
+COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux"
+
+def gnu_efi_arch(d):
+    import re
+    tarch = d.getVar("TARGET_ARCH", True)
+    if re.match("i[3456789]86", tarch):
+        return "ia32"
+    return tarch
+
+EXTRA_OEMAKE = "'ARCH=${@gnu_efi_arch(d)}' 'CC=${CC}' 'AS=${AS}' 'LD=${LD}' 'AR=${AR}' \
+                'RANLIB=${RANLIB}' 'OBJCOPY=${OBJCOPY}' 'PREFIX=${prefix}' 'LIBDIR=${libdir}' \
+                "
+
+do_install() {
+        oe_runmake install INSTALLROOT="${D}"
+}
+
+FILES_${PN} += "${libdir}/*.lds"
meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb deleted +0 -33
deleted file mode 100644
index dbf2a07..0000000
@@ -1,33 +0,0 @@
-SUMMARY = "Libraries for producing EFI binaries"
-HOMEPAGE = "http://sourceforge.net/projects/gnu-efi/"
-SECTION = "devel"
-LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://debian/copyright;md5=5fb358a180f484b285b0d99acdc29666"
-
-SRC_URI = "http://downloads.sourceforge.net/gnu-efi/gnu-efi_3.0u.orig.tar.gz \
-           file://parallel-make.patch \
-           file://parallel-make-archives.patch \
-          "
-SRC_URI[md5sum] = "d15d3c700e79a1e2938544d73edc572d"
-SRC_URI[sha256sum] = "3c0d450d5829204ca05dcb3b2aae772e52c379b7c7e09146759c6315606f934e"
-
-COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
-
-S = "${WORKDIR}/gnu-efi-3.0"
-
-def gnu_efi_arch(d):
-    import re
-    tarch = d.getVar("TARGET_ARCH", True)
-    if re.match("i[3456789]86", tarch):
-        return "ia32"
-    return tarch
-
-EXTRA_OEMAKE = "'ARCH=${@gnu_efi_arch(d)}' 'CC=${CC}' 'AS=${AS}' 'LD=${LD}' 'AR=${AR}' \
-                'RANLIB=${RANLIB}' 'OBJCOPY=${OBJCOPY}' 'PREFIX=${prefix}' 'LIBDIR=${libdir}' \
-                "
-
-do_install() {
-        oe_runmake install INSTALLROOT="${D}"
-}
-
-FILES_${PN} += "${libdir}/*.lds"
Signature · 1 line
1.7.9.5
#2 lore raw
Quoted 7 lines · Robert Yang

* Use the official src rather than debian.
* It doesn't have a general license file, the license is embedded in the files, which are GPLv2+ & BSD.
* Supported aarch64 and arm.

Both you and Saul have submitted this upgrade, but they're both different:
Saul drops patches that don't need to be applied anymore, and Robert changes the COMPATIBLE_HOST assignment. Can one of you create a One Upgrade To Rule Them All and re-submit? :)

Ross

#3 lore raw
Quoted 8 lines · Ross

On 12 January 2015 at 00:06, Robert Yang <[email protected] <mailto:[email protected]>> wrote:

* Use the official src rather than debian.
* It doesn't have a general license file, the license is embedded in the files, which are GPLv2+ & BSD.
* Supported aarch64 and arm.

Quoted 8 lines

<mailto:[email protected]>>

Both you and Saul have submitted this upgrade, but they're both different: Saul drops patches that don't need to be applied anymore, and Robert changes the COMPATIBLE_HOST assignment. Can one of you create a One Upgrade To Rule Them All and re-submit? :)

Thanks, I took Saul's part and updated in the PULL:
git://git.openembedded.org/openembedded-core-contrib rbt/gnu-efi

http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/gnu-efi

Robert Yang (1):
gnu-efi: upgrade to 3.0.1

From 7a3e85cafad74e9bdcfae6171abaf745b642de3e Mon Sep 17 00:00:00 2001
From: Robert Yang <[email protected]>
Date: Wed, 7 Jan 2015 16:01:46 -0800
Subject: [PATCH] gnu-efi: upgrade to 3.0.1

* Use the official src rather than debian.
* It doesn't have a general license file, the license is embedded in the files, which are "GPLv2+ | BSD-2-Clause".
* Supported aarch64 and arm.
* Remove parallel-make.patch that was accepted upstream. (From Saul)

---
 .../gnu-efi/gnu-efi/parallel-make.patch            |   22 -----------
 meta/recipes-bsp/gnu-efi/gnu-efi_3.0.1.bb          |   40 ++++++++++++++++++++
 meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb           |   33 ----------------
 3 files changed, 40 insertions(+), 55 deletions(-)
 delete mode 100644 meta/recipes-bsp/gnu-efi/gnu-efi/parallel-make.patch
 create mode 100644 meta/recipes-bsp/gnu-efi/gnu-efi_3.0.1.bb
 delete mode 100644 meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb
meta/recipes-bsp/gnu-efi/gnu-efi/parallel-make.patch deleted +0 -22
deleted file mode 100644
index 27c94e8..0000000
@@ -1,22 +0,0 @@
-Fix parallel make failure
-
-Upstream-Status: Submitted [Maintainer directly]
-
-Add a missing dependency which resulted in a race leading to failure
-on larger values of -j.
-
-Signed-off-by: Darren Hart <[email protected]>
-
-Index: gnu-efi-3.0/Makefile
-===================================================================
---- gnu-efi-3.0.orig/Makefile
-+++ gnu-efi-3.0/Makefile
-@@ -42,6 +42,8 @@ include $(SRCDIR)/Make.defaults
-
- SUBDIRS = lib gnuefi inc apps
-
-+gnuefi: lib
-+
- all:	check_gcc $(SUBDIRS)
-
- $(SUBDIRS):
meta/recipes-bsp/gnu-efi/gnu-efi_3.0.1.bb new file +40 -0
new file mode 100644
index 0000000..ad7f2e3
@@ -0,0 +1,40 @@
+SUMMARY = "Libraries for producing EFI binaries"
+HOMEPAGE = "http://sourceforge.net/projects/gnu-efi/"
+SECTION = "devel"
+LICENSE = "GPLv2+ | BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://gnuefi/crt0-efi-arm.S;beginline=4;endline=9;md5=2240d7bbdf0928294c2f4a68b14d6591 \
+ file://gnuefi/crt0-efi-aarch64.S;beginline=4;endline=16;md5=e582764a4776e60c95bf9ab617343d36 \
+ file://inc/efishellintf.h;beginline=13;endline=20;md5=202766b79d708eff3cc70fce15fb80c7 \
+ file://inc/efishellparm.h;beginline=4;endline=11;md5=468b1231b05bbc84bae3a0d5774e3bb5 \
+ file://lib/arm/div64.S;beginline=6;endline=12;md5=a96c84f5ad12b4f011f98b5d039242f2 \
+ file://lib/arm/math.c;beginline=4;endline=10;md5=64dd1987cee1dcf59d11aa572cfa644e \
+ file://lib/arm/initplat.c;beginline=4;endline=10;md5=64dd1987cee1dcf59d11aa572cfa644e \
+ file://lib/arm/lib1funcs.S;beginline=9;endline=33;md5=f56d5ebbc87136bc66cfe24db82bcf01 \
+ file://lib/aarch64/math.c;beginline=9;endline=33;md5=cfade4c560e033a7bb02dab282872c7d \
+ file://lib/aarch64/initplat.c;beginline=9;endline=33;md5=900cb1ffbe3e1ded344102be921830f1 \
+                   "
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2 \
+           file://parallel-make-archives.patch \
+          "
+SRC_URI[md5sum] = "c4099c443b6b0c2b04dedc33e7814ec0"
+SRC_URI[sha256sum] = "e2e8d5940347eebfb00eaaeef107a8ba59e7838e40bc716c74d9a36fff648f1f"
+
+COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux"
+
+def gnu_efi_arch(d):
+    import re
+    tarch = d.getVar("TARGET_ARCH", True)
+    if re.match("i[3456789]86", tarch):
+        return "ia32"
+    return tarch
+
+EXTRA_OEMAKE = "'ARCH=${@gnu_efi_arch(d)}' 'CC=${CC}' 'AS=${AS}' 'LD=${LD}' 'AR=${AR}' \
+                'RANLIB=${RANLIB}' 'OBJCOPY=${OBJCOPY}' 'PREFIX=${prefix}' 'LIBDIR=${libdir}' \
+                "
+
+do_install() {
+        oe_runmake install INSTALLROOT="${D}"
+}
+
+FILES_${PN} += "${libdir}/*.lds"
meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb deleted +0 -33
deleted file mode 100644
index dbf2a07..0000000
@@ -1,33 +0,0 @@
-SUMMARY = "Libraries for producing EFI binaries"
-HOMEPAGE = "http://sourceforge.net/projects/gnu-efi/"
-SECTION = "devel"
-LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://debian/copyright;md5=5fb358a180f484b285b0d99acdc29666"
-
-SRC_URI = "http://downloads.sourceforge.net/gnu-efi/gnu-efi_3.0u.orig.tar.gz \
-           file://parallel-make.patch \
-           file://parallel-make-archives.patch \
-          "
-SRC_URI[md5sum] = "d15d3c700e79a1e2938544d73edc572d"
-SRC_URI[sha256sum] = "3c0d450d5829204ca05dcb3b2aae772e52c379b7c7e09146759c6315606f934e"
-
-COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
-
-S = "${WORKDIR}/gnu-efi-3.0"
-
-def gnu_efi_arch(d):
-    import re
-    tarch = d.getVar("TARGET_ARCH", True)
-    if re.match("i[3456789]86", tarch):
-        return "ia32"
-    return tarch
-
-EXTRA_OEMAKE = "'ARCH=${@gnu_efi_arch(d)}' 'CC=${CC}' 'AS=${AS}' 'LD=${LD}' 'AR=${AR}' \
-                'RANLIB=${RANLIB}' 'OBJCOPY=${OBJCOPY}' 'PREFIX=${prefix}' 'LIBDIR=${libdir}' \
-                "
-
-do_install() {
-        oe_runmake install INSTALLROOT="${D}"
-}
-
-FILES_${PN} += "${libdir}/*.lds"
Signature · 3 lines
1.7.9.5

// Robert
Quoted 2 lines

Ross