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/grub2.inc | |
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/grub2.inc')
-rw-r--r-- | meta/recipes-bsp/grub/grub2.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index c6994723f9..7d8c280b3f 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc | |||
@@ -17,12 +17,9 @@ SRC_URI = "https://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \ | |||
17 | file://autogen.sh-exclude-pc.patch \ | 17 | file://autogen.sh-exclude-pc.patch \ |
18 | file://grub-module-explicitly-keeps-symbole-.module_license.patch \ | 18 | file://grub-module-explicitly-keeps-symbole-.module_license.patch \ |
19 | file://0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch \ | 19 | file://0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch \ |
20 | file://fix.build.with.gcc-7.patch \ | ||
21 | file://gcc8.patch \ | 20 | file://gcc8.patch \ |
22 | file://0001-x86-64-Treat-R_X86_64_PLT32-as-R_X86_64_PC32.patch \ | 21 | file://0001-x86-64-Treat-R_X86_64_PLT32-as-R_X86_64_PC32.patch \ |
23 | file://0001-grub-setup-Debug-message-cleanup.patch \ | 22 | file://0001-grub-setup-Debug-message-cleanup.patch \ |
24 | file://disable-address-of-packed-member.patch \ | ||
25 | file://fix.build.with.squashfs.patch \ | ||
26 | " | 23 | " |
27 | SRC_URI[md5sum] = "1116d1f60c840e6dbd67abbc99acb45d" | 24 | SRC_URI[md5sum] = "1116d1f60c840e6dbd67abbc99acb45d" |
28 | SRC_URI[sha256sum] = "660ee136fbcee08858516ed4de2ad87068bfe1b6b8b37896ce3529ff054a726d" | 25 | SRC_URI[sha256sum] = "660ee136fbcee08858516ed4de2ad87068bfe1b6b8b37896ce3529ff054a726d" |
@@ -63,6 +60,8 @@ BUILD_CFLAGS = "" | |||
63 | BUILD_CXXFLAGS = "" | 60 | BUILD_CXXFLAGS = "" |
64 | BUILD_LDFLAGS = "" | 61 | BUILD_LDFLAGS = "" |
65 | 62 | ||
63 | CFLAGS_append = "-Wno-error" | ||
64 | |||
66 | do_configure_prepend() { | 65 | do_configure_prepend() { |
67 | # The grub2 configure script uses variables such as TARGET_CFLAGS etc | 66 | # The grub2 configure script uses variables such as TARGET_CFLAGS etc |
68 | # for its own purposes. Remove the OE versions from the environment to | 67 | # for its own purposes. Remove the OE versions from the environment to |