diff options
author | Adrian Bunk <bunk@stusta.de> | 2019-05-07 16:11:41 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-08 22:56:45 +0100 |
commit | 0a219f449a3afe298f6f1bbf06c0cac18e008026 (patch) | |
tree | fc1b8042cceab128a67bc2c344d3a2b238e5770a /meta/recipes-bsp/grub/grub-efi_2.02.bb | |
parent | 624ba02f5f1ecc228beab6eac63dbf219f23ec7b (diff) | |
download | poky-0a219f449a3afe298f6f1bbf06c0cac18e008026.tar.gz |
grub: Use -Wno-error instead of doing this on a per-warning basis
In practice the warnings were disabled individually instead of fixes added,
so just make all warnings non-fatal to achieve the same.
(From OE-Core rev: 330fc83d4519da3c13eb55e8c060ba3e191c9906)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/grub/grub-efi_2.02.bb')
-rw-r--r-- | meta/recipes-bsp/grub/grub-efi_2.02.bb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/recipes-bsp/grub/grub-efi_2.02.bb b/meta/recipes-bsp/grub/grub-efi_2.02.bb index 6dbd23a3c7..0028a9b6eb 100644 --- a/meta/recipes-bsp/grub/grub-efi_2.02.bb +++ b/meta/recipes-bsp/grub/grub-efi_2.02.bb | |||
@@ -41,10 +41,6 @@ inherit deploy | |||
41 | CACHED_CONFIGUREVARS += "ac_cv_path_HELP2MAN=" | 41 | CACHED_CONFIGUREVARS += "ac_cv_path_HELP2MAN=" |
42 | EXTRA_OECONF += "--enable-efiemu=no" | 42 | EXTRA_OECONF += "--enable-efiemu=no" |
43 | 43 | ||
44 | # ldm.c:114:7: error: trampoline generated for nested function 'hook' [-Werror=trampolines] | ||
45 | # and many other places in the grub code when compiled with some native gcc compilers (specifically, gentoo) | ||
46 | CFLAGS_append_class-native = " -Wno-error=trampolines" | ||
47 | |||
48 | do_mkimage() { | 44 | do_mkimage() { |
49 | cd ${B} | 45 | cd ${B} |
50 | # Search for the grub.cfg on the local boot media by using the | 46 | # Search for the grub.cfg on the local boot media by using the |