summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/grub/grub2.inc
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2019-07-29 11:20:26 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-31 13:50:46 +0100
commitcfb190a3c9771b382d994702a6e74bb662bf6a8c (patch)
tree85fc94dbf4ec102b1e86fab99ee1be5ea34ebdf7 /meta/recipes-bsp/grub/grub2.inc
parent07ba3a1d7320946c22a3dafefcb2aab6b1906b90 (diff)
downloadpoky-cfb190a3c9771b382d994702a6e74bb662bf6a8c.tar.gz
grub: upgrade 2.02 -> 2.04
* For changes in this version, see: http://git.savannah.gnu.org/cgit/grub.git/tree/NEWS?h=grub-2.04 * Remove backported patches and refresh others. * Remove the musl patch as it's no longer needed. * Use configure option --disable-werror instead of passing through CFLAGS. (From OE-Core rev: 07222d213d1da0ccade1c61ed19a7ecdc4966edd) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> 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.inc13
1 files changed, 4 insertions, 9 deletions
diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc
index c5ff10e598..13e21d75bb 100644
--- a/meta/recipes-bsp/grub/grub2.inc
+++ b/meta/recipes-bsp/grub/grub2.inc
@@ -13,18 +13,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
13 13
14SRC_URI = "https://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \ 14SRC_URI = "https://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \
15 file://0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch \ 15 file://0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch \
16 file://0001-Unset-need_charset_alias-when-building-for-musl.patch \
17 file://autogen.sh-exclude-pc.patch \ 16 file://autogen.sh-exclude-pc.patch \
18 file://grub-module-explicitly-keeps-symbole-.module_license.patch \ 17 file://grub-module-explicitly-keeps-symbole-.module_license.patch \
19 file://0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch \ 18 file://0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch \
20 file://gcc8.patch \
21 file://0001-x86-64-Treat-R_X86_64_PLT32-as-R_X86_64_PC32.patch \
22 file://0001-grub-setup-Debug-message-cleanup.patch \
23" 19"
24SRC_URI[md5sum] = "1116d1f60c840e6dbd67abbc99acb45d" 20SRC_URI[md5sum] = "5ce674ca6b2612d8939b9e6abed32934"
25SRC_URI[sha256sum] = "660ee136fbcee08858516ed4de2ad87068bfe1b6b8b37896ce3529ff054a726d" 21SRC_URI[sha256sum] = "f10c85ae3e204dbaec39ae22fa3c5e99f0665417e91c2cb49b7e5031658ba6ea"
26 22
27DEPENDS = "flex-native bison-native" 23DEPENDS = "flex-native bison-native gettext-native"
28 24
29COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)' 25COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
30COMPATIBLE_HOST_armv7a = 'null' 26COMPATIBLE_HOST_armv7a = 'null'
@@ -45,6 +41,7 @@ EXTRA_OECONF = "--with-platform=${GRUBPLATFORM} \
45 --enable-liblzma=no \ 41 --enable-liblzma=no \
46 --enable-libzfs=no \ 42 --enable-libzfs=no \
47 --enable-largefile \ 43 --enable-largefile \
44 --disable-werror \
48" 45"
49 46
50PACKAGECONFIG ??= "" 47PACKAGECONFIG ??= ""
@@ -62,8 +59,6 @@ BUILD_LDFLAGS = ""
62 59
63export PYTHON = "python3" 60export PYTHON = "python3"
64 61
65CFLAGS_append = " -Wno-error"
66
67do_configure_prepend() { 62do_configure_prepend() {
68 ( cd ${S} 63 ( cd ${S}
69 ${S}/autogen.sh ) 64 ${S}/autogen.sh )