dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone
Blob Blame History Raw
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