grub2/0331-grub-core-Makefile.core.def-legacycfg-Enable-on-EFI.patch
Peter Jones f74b50e380 Rebase to upstream, fix a pile of bugs. The usual.
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-06-12 15:37:08 -04:00

45 lines
1.3 KiB
Diff

From b5e4f9e9f491d6f55c97455535c0635bbe88f132 Mon Sep 17 00:00:00 2001
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Date: Sat, 20 Apr 2013 13:46:58 +0200
Subject: [PATCH 331/482] * grub-core/Makefile.core.def (legacycfg):
Enable on EFI.
---
ChangeLog | 4 ++++
grub-core/Makefile.core.def | 5 +++++
2 files changed, 9 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 6ca70a6..b2e3ccc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2013-04-20 Vladimir Serbinenko <phcoder@gmail.com>
+ * grub-core/Makefile.core.def (legacycfg): Enable on EFI.
+
+2013-04-20 Vladimir Serbinenko <phcoder@gmail.com>
+
* grub-core/lib/efi/relocator.c (grub_relocator_firmware_alloc_region):
Remove dprintf.
* grub-core/lib/relocator.c (malloc_in_range): Likewise.
diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def
index 43c4cb6..1f04afb 100644
--- a/grub-core/Makefile.core.def
+++ b/grub-core/Makefile.core.def
@@ -1856,7 +1856,12 @@ module = {
common = commands/legacycfg.c;
common = lib/legacy_parse.c;
emu = lib/i386/pc/vesa_modes_table.c;
+ i386_efi = lib/i386/pc/vesa_modes_table.c;
+ x86_64_efi = lib/i386/pc/vesa_modes_table.c;
+
enable = i386_pc;
+ enable = i386_efi;
+ enable = x86_64_efi;
enable = emu;
};
--
1.8.2.1