From 8a8ae3759d4b2d3ff6c059df289d43e5f46d460f Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 12 Jun 2019 21:35:35 +0100 Subject: efivar: add This was in meta-oe but EFI is sufficiently wide spread now that we need it in core. The recipe is based on the one in meta-oe but with several updates. (From OE-Core rev: 53fe0133432f62024850e87456292b044d1280ee) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-bsp/efivar/efivar/no-werror.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta/recipes-bsp/efivar/efivar/no-werror.patch (limited to 'meta/recipes-bsp/efivar/efivar') diff --git a/meta/recipes-bsp/efivar/efivar/no-werror.patch b/meta/recipes-bsp/efivar/efivar/no-werror.patch new file mode 100644 index 0000000000..50a0b1023a --- /dev/null +++ b/meta/recipes-bsp/efivar/efivar/no-werror.patch @@ -0,0 +1,18 @@ +Don't use -Werror because newer compilers introduce newer warnings. + +Upstream-Status: Inappropriate [https://github.com/rhboot/efivar/issues/131] +Signed-off-by: Ross Burton + +diff --git a/gcc.specs b/gcc.specs +index 45d43d1..1baf11a 100644 +--- a/gcc.specs ++++ b/gcc.specs +@@ -2,7 +2,7 @@ + + -D_GNU_SOURCE + + *efivar_cpp_options: +- -Werror -Wall -std=gnu11 -Wextra ++ -Wall -std=gnu11 -Wextra + + *cpp_options: + + %(efivar_cpp_options) -- cgit v1.2.3-54-g00ecf