diff options
Diffstat (limited to 'meta/recipes-bsp/grub/grub2.inc')
-rw-r--r-- | meta/recipes-bsp/grub/grub2.inc | 13 |
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 | ||
14 | SRC_URI = "https://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \ | 14 | SRC_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 | " |
24 | SRC_URI[md5sum] = "1116d1f60c840e6dbd67abbc99acb45d" | 20 | SRC_URI[md5sum] = "5ce674ca6b2612d8939b9e6abed32934" |
25 | SRC_URI[sha256sum] = "660ee136fbcee08858516ed4de2ad87068bfe1b6b8b37896ce3529ff054a726d" | 21 | SRC_URI[sha256sum] = "f10c85ae3e204dbaec39ae22fa3c5e99f0665417e91c2cb49b7e5031658ba6ea" |
26 | 22 | ||
27 | DEPENDS = "flex-native bison-native" | 23 | DEPENDS = "flex-native bison-native gettext-native" |
28 | 24 | ||
29 | COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)' | 25 | COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)' |
30 | COMPATIBLE_HOST_armv7a = 'null' | 26 | COMPATIBLE_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 | ||
50 | PACKAGECONFIG ??= "" | 47 | PACKAGECONFIG ??= "" |
@@ -62,8 +59,6 @@ BUILD_LDFLAGS = "" | |||
62 | 59 | ||
63 | export PYTHON = "python3" | 60 | export PYTHON = "python3" |
64 | 61 | ||
65 | CFLAGS_append = " -Wno-error" | ||
66 | |||
67 | do_configure_prepend() { | 62 | do_configure_prepend() { |
68 | ( cd ${S} | 63 | ( cd ${S} |
69 | ${S}/autogen.sh ) | 64 | ${S}/autogen.sh ) |