summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/grub/grub2.inc
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-05-07 16:11:41 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-08 22:56:45 +0100
commit0a219f449a3afe298f6f1bbf06c0cac18e008026 (patch)
treefc1b8042cceab128a67bc2c344d3a2b238e5770a /meta/recipes-bsp/grub/grub2.inc
parent624ba02f5f1ecc228beab6eac63dbf219f23ec7b (diff)
downloadpoky-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.inc5
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"
27SRC_URI[md5sum] = "1116d1f60c840e6dbd67abbc99acb45d" 24SRC_URI[md5sum] = "1116d1f60c840e6dbd67abbc99acb45d"
28SRC_URI[sha256sum] = "660ee136fbcee08858516ed4de2ad87068bfe1b6b8b37896ce3529ff054a726d" 25SRC_URI[sha256sum] = "660ee136fbcee08858516ed4de2ad87068bfe1b6b8b37896ce3529ff054a726d"
@@ -63,6 +60,8 @@ BUILD_CFLAGS = ""
63BUILD_CXXFLAGS = "" 60BUILD_CXXFLAGS = ""
64BUILD_LDFLAGS = "" 61BUILD_LDFLAGS = ""
65 62
63CFLAGS_append = "-Wno-error"
64
66do_configure_prepend() { 65do_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