summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch17
1 files changed, 7 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 935c472cf8..ffc2d40d89 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
@@ -43,19 +43,16 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
43 grub-core/genmod.sh.in | 2 +- 43 grub-core/genmod.sh.in | 2 +-
44 1 file changed, 1 insertion(+), 1 deletion(-) 44 1 file changed, 1 insertion(+), 1 deletion(-)
45 45
46diff --git a/grub-core/genmod.sh.in b/grub-core/genmod.sh.in 46Index: grub-2.02/grub-core/genmod.sh.in
47index 76df0bb..39a9cfc 100644 47===================================================================
48--- a/grub-core/genmod.sh.in 48--- grub-2.02.orig/grub-core/genmod.sh.in
49+++ b/grub-core/genmod.sh.in 49+++ grub-2.02/grub-core/genmod.sh.in
50@@ -59,7 +59,7 @@ if test x@TARGET_APPLE_CC@ != x1; then 50@@ -56,7 +56,7 @@ if test x@TARGET_APPLE_LINKER@ != x1; th
51 if test x@platform@ != xemu; then 51 if test x@platform@ != xemu; then
52 @STRIP@ --strip-unneeded \ 52 @TARGET_STRIP@ --strip-unneeded \
53 -K grub_mod_init -K grub_mod_fini \ 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 -K .module_license \ 55+ -K _grub_mod_init -K _grub_mod_fini -K .module_license \
56 -R .note.gnu.gold-version -R .note.GNU-stack \ 56 -R .note.gnu.gold-version -R .note.GNU-stack \
57 -R .note -R .comment $tmpfile || exit 1 57 -R .note -R .comment -R .ARM.exidx $tmpfile || exit 1
58 fi 58 fi
59--
602.8.1
61