grub2/0330-grub-core-Makefile.core.def-legacycfg-Enable-on-EFI.patch
2013-05-02 16:54:52 -04:00

46 lines
1.3 KiB
Diff

From 786c3d387a87687707eff778ea77a17b7a1b1ab7 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 330/364] * 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.1.4