[oe] [PATCH 0/2] V3: Upgrade efivar and efibootmgr

kai.kang at windriver.com kai.kang at windriver.com
Sat Oct 10 03:31:29 UTC 2015


From: Kai Kang <kai.kang at windriver.com>

V3:
* add patch to drop 2 gcc options for efivar-native which may NOT recognized by old gcc

Built for qemux86-64 and qemuarm on Ubuntu 12.04/14.04, Fedora 20.

And it fails to build with gcc 4.8 & 4.9:

| linux.c: In function 'make_mac_path':
| linux.c:850:9: error: missing braces around initializer [-Werror=missing-braces]
|   struct ifreq ifr = { 0, };
|          ^
| linux.c:850:9: error: (near initialization for 'ifr.ifr_ifrn') [-Werror=missing-braces]
| cc1: all warnings being treated as errors

It is a knonw issue of gcc and I'll send a patch to oe-core to fix it.

Ref:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119

Kai Kang (2):
  efivar: 0.7 -> 0.21
  efibootmgr: 0.6.0 -> 0.12

 .../{efibootmgr_0.6.0.bb => efibootmgr_0.12.bb}    | 21 ++++---
 .../efibootmgr/files/docbook-fixes.patch           | 28 ---------
 .../files/w-keep-existing-mbr-signature.patch      | 26 --------
 .../efivar/0001-efivar-fix-for-cross-compile.patch | 31 ++++++++++
 ...ptions-not-supported-by-lower-version-gcc.patch | 71 ++++++++++++++++++++++
 .../efivar/{efivar_git.bb => efivar_0.21.bb}       | 23 +++++--
 6 files changed, 130 insertions(+), 70 deletions(-)
 rename meta-oe/recipes-extended/efibootmgr/{efibootmgr_0.6.0.bb => efibootmgr_0.12.bb} (39%)
 delete mode 100644 meta-oe/recipes-extended/efibootmgr/files/docbook-fixes.patch
 delete mode 100644 meta-oe/recipes-extended/efibootmgr/files/w-keep-existing-mbr-signature.patch
 create mode 100644 meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch
 create mode 100644 meta-oe/recipes-extended/efivar/efivar/efivar-drop-options-not-supported-by-lower-version-gcc.patch
 rename meta-oe/recipes-extended/efivar/{efivar_git.bb => efivar_0.21.bb} (27%)

-- 
2.6.0.rc2.10.gf4d9753




More information about the Openembedded-devel mailing list