diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2019-07-29 11:20:26 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-31 13:50:46 +0100 |
commit | cfb190a3c9771b382d994702a6e74bb662bf6a8c (patch) | |
tree | 85fc94dbf4ec102b1e86fab99ee1be5ea34ebdf7 /meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch | |
parent | 07ba3a1d7320946c22a3dafefcb2aab6b1906b90 (diff) | |
download | poky-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/files/grub-module-explicitly-keeps-symbole-.module_license.patch')
-rw-r--r-- | meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch b/meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch index ffc2d40d89..26890261b7 100644 --- a/meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch +++ b/meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch | |||
@@ -1,13 +1,14 @@ | |||
1 | From 7461a3de38b66edbe2f5593f9bdab9f2704d32bc Mon Sep 17 00:00:00 2001 | 1 | From 917133acc701dbc4636165d3b08d15dc5829a06f Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Wed, 17 Aug 2016 04:06:34 -0400 | 3 | Date: Wed, 17 Aug 2016 04:06:34 -0400 |
4 | Subject: [PATCH] grub module explicitly keeps symbole .module_license | 4 | Subject: [PATCH] grub module explicitly keeps symbole .module_license |
5 | 5 | ||
6 | While using oe-core toolchain to strip grub module 'all_video.mod', | 6 | While using oe-core toolchain to strip grub module 'all_video.mod', |
7 | it stripped symbol table: | 7 | it stripped symbol table: |
8 | -------------- | ||
9 | root@localhost:~# objdump -t all_video.mod | ||
10 | 8 | ||
9 | --------------- | ||
10 | root@localhost:~# objdump -t all_video.mod | ||
11 | |||
11 | all_video.mod: file format elf64-x86-64 | 12 | all_video.mod: file format elf64-x86-64 |
12 | 13 | ||
13 | SYMBOL TABLE: | 14 | SYMBOL TABLE: |
@@ -43,16 +44,16 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | |||
43 | grub-core/genmod.sh.in | 2 +- | 44 | grub-core/genmod.sh.in | 2 +- |
44 | 1 file changed, 1 insertion(+), 1 deletion(-) | 45 | 1 file changed, 1 insertion(+), 1 deletion(-) |
45 | 46 | ||
46 | Index: grub-2.02/grub-core/genmod.sh.in | 47 | diff --git a/grub-core/genmod.sh.in b/grub-core/genmod.sh.in |
47 | =================================================================== | 48 | index 1250589..dd14308 100644 |
48 | --- grub-2.02.orig/grub-core/genmod.sh.in | 49 | --- a/grub-core/genmod.sh.in |
49 | +++ grub-2.02/grub-core/genmod.sh.in | 50 | +++ b/grub-core/genmod.sh.in |
50 | @@ -56,7 +56,7 @@ if test x@TARGET_APPLE_LINKER@ != x1; th | 51 | @@ -56,7 +56,7 @@ if test x@TARGET_APPLE_LINKER@ != x1; then |
51 | if test x@platform@ != xemu; then | 52 | if test x@platform@ != xemu; then |
52 | @TARGET_STRIP@ --strip-unneeded \ | 53 | @TARGET_STRIP@ --strip-unneeded \ |
53 | -K grub_mod_init -K grub_mod_fini \ | 54 | -K grub_mod_init -K grub_mod_fini \ |
54 | - -K _grub_mod_init -K _grub_mod_fini \ | 55 | - -K _grub_mod_init -K _grub_mod_fini \ |
55 | + -K _grub_mod_init -K _grub_mod_fini -K .module_license \ | 56 | + -K _grub_mod_init -K _grub_mod_fini -K .module_license \ |
56 | -R .note.gnu.gold-version -R .note.GNU-stack \ | 57 | -R .note.gnu.gold-version -R .note.GNU-stack \ |
57 | -R .note -R .comment -R .ARM.exidx $tmpfile || exit 1 | 58 | -R .gnu.build.attributes \ |
58 | fi | 59 | -R .rel.gnu.build.attributes \ |