diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-04-21 20:36:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-23 17:45:36 +0100 |
commit | 67d7ea7c675910f4da548639cdee31073cdf59fa (patch) | |
tree | 906556c4b75c4d25ccf78c245f522e771e5f55cb /meta/recipes-bsp/grub/grub2.inc | |
parent | f0ff93c2a5c709cada5fc34b328204a79a5d642f (diff) | |
download | poky-67d7ea7c675910f4da548639cdee31073cdf59fa.tar.gz |
grub: Update to 2.02
Drop git recipe, add arm bits to 2.02 itself
(From OE-Core rev: 4f27e4042dfb39caa71c7c6eb0a327de6af4d563)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@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.inc | 50 |
1 files changed, 23 insertions, 27 deletions
diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index ef893b327f..bb6ebddf57 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc | |||
@@ -12,41 +12,37 @@ LICENSE = "GPLv3" | |||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
13 | 13 | ||
14 | SRC_URI = "ftp://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \ | 14 | SRC_URI = "ftp://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \ |
15 | file://grub-module-explicitly-keeps-symbole-.module_license.patch \ | 15 | file://0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch \ |
16 | file://grub-2.00-fpmath-sse-387-fix.patch \ | ||
17 | file://check-if-liblzma-is-disabled.patch \ | ||
18 | file://fix-issue-with-flex-2.5.37.patch \ | ||
19 | file://grub-2.00-add-oe-kernel.patch \ | ||
20 | file://grub-install.in.patch \ | ||
21 | file://remove-gets.patch \ | ||
22 | file://fix-endianness-problem.patch \ | ||
23 | file://grub2-remove-sparc64-setup-from-x86-builds.patch \ | ||
24 | file://grub-2.00-fix-enable_execute_stack-check.patch \ | ||
25 | file://grub-no-unused-result.patch \ | ||
26 | file://grub-efi-allow-a-compilation-without-mcmodel-large.patch \ | ||
27 | file://grub-efi-fix-with-glibc-2.20.patch \ | ||
28 | file://0001-Unset-need_charset_alias-when-building-for-musl.patch \ | 16 | file://0001-Unset-need_charset_alias-when-building-for-musl.patch \ |
29 | file://0001-parse_dhcp_vendor-Add-missing-const-qualifiers.patch \ | 17 | file://autogen.sh-exclude-pc.patch \ |
30 | file://grub2-fix-initrd-size-bug.patch \ | 18 | file://grub-module-explicitly-keeps-symbole-.module_license.patch \ |
31 | file://0001-Fix-CVE-2015-8370-Grub2-user-pass-vulnerability.patch \ | 19 | " |
32 | file://0001-Remove-direct-_llseek-code-and-require-long-filesyst.patch \ | 20 | SRC_URI[md5sum] = "1116d1f60c840e6dbd67abbc99acb45d" |
33 | file://fix-texinfo.patch \ | 21 | SRC_URI[sha256sum] = "660ee136fbcee08858516ed4de2ad87068bfe1b6b8b37896ce3529ff054a726d" |
34 | file://0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch \ | ||
35 | file://0001-Enforce-no-pie-if-the-compiler-supports-it.patch \ | ||
36 | file://0001-grub-core-kern-efi-mm.c-grub_efi_finish_boot_service.patch \ | ||
37 | file://0002-grub-core-kern-efi-mm.c-grub_efi_get_memory_map-Neve.patch \ | ||
38 | file://0001-build-Use-AC_HEADER_MAJOR-to-find-device-macros.patch \ | ||
39 | " | ||
40 | 22 | ||
41 | DEPENDS = "flex-native bison-native autogen-native" | 23 | DEPENDS = "flex-native bison-native autogen-native" |
42 | 24 | ||
43 | SRC_URI[md5sum] = "e927540b6eda8b024fb0391eeaa4091c" | 25 | COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)' |
44 | SRC_URI[sha256sum] = "65b39a0558f8c802209c574f4d02ca263a804e8a564bc6caf1cd0fd3b3cc11e3" | 26 | COMPATIBLE_HOST_armv7a = 'null' |
27 | COMPATIBLE_HOST_armv7ve = 'null' | ||
45 | 28 | ||
46 | COMPATIBLE_HOST = '(x86_64.*|i.86.*)-(linux|freebsd.*)' | 29 | # configure.ac has code to set this automagically from the target tuple |
30 | # but the OE freeform one (core2-foo-bar-linux) don't work with that. | ||
31 | |||
32 | GRUBPLATFORM_arm = "uboot" | ||
33 | GRUBPLATFORM_aarch64 = "efi" | ||
34 | GRUBPLATFORM ??= "pc" | ||
47 | 35 | ||
48 | inherit autotools gettext texinfo | 36 | inherit autotools gettext texinfo |
49 | 37 | ||
38 | EXTRA_OECONF = "--with-platform=${GRUBPLATFORM} \ | ||
39 | --disable-grub-mkfont \ | ||
40 | --program-prefix="" \ | ||
41 | --enable-liblzma=no \ | ||
42 | --enable-libzfs=no \ | ||
43 | --enable-largefile \ | ||
44 | " | ||
45 | |||
50 | PACKAGECONFIG ??= "" | 46 | PACKAGECONFIG ??= "" |
51 | PACKAGECONFIG[grub-mount] = "--enable-grub-mount,--disable-grub-mount,fuse" | 47 | PACKAGECONFIG[grub-mount] = "--enable-grub-mount,--disable-grub-mount,fuse" |
52 | PACKAGECONFIG[device-mapper] = "--enable-device-mapper,--disable-device-mapper,lvm2" | 48 | PACKAGECONFIG[device-mapper] = "--enable-device-mapper,--disable-device-mapper,lvm2" |