grub/grub-core/lib/i386
Leif Lindholm c79ebcd18c i386: Don't include lib/i386/reset.c in EFI builds
Commit 0ba90a7f01 ("efi: Move grub_reboot() into kernel") broke
the build on i386-efi - genmoddep.awk bails out with message
  grub_reboot in reboot is duplicated in kernel
This is because both lib/i386/reset.c and kern/efi/efi.c now provide
this function.

Rather than explicitly list each i386 platform variant in
Makefile.core.def, include the contents of lib/i386/reset.c only when
GRUB_MACHINE_EFI is not set.

Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2018-07-25 14:18:11 +02:00
..
pc Add const keyword to grub_env_get and gettextize week days. 2011-11-11 20:34:37 +01:00
xen xen: Fix wrong register in relocator. 2017-03-05 10:07:36 +01:00
backtrace.c backtrace: Fix register call syntax 2015-12-31 14:54:48 +01:00
halt.c Turn off QEMU ACPI-way since new releases don't have shutdown port 2013-04-12 14:49:33 +02:00
random.c Add RNG module. 2016-02-12 12:39:38 +01:00
reboot.c i386: Don't include lib/i386/reset.c in EFI builds 2018-07-25 14:18:11 +02:00
reboot_trampoline.S * grub-core/kern/i386/pc/startup.S (grub_exit): Add missing zeroing-out. 2011-10-23 23:04:57 +02:00
relocator.c i386/relocator: Remove unused extern grub_relocator64_rip_addr 2015-05-07 18:00:47 +02:00
relocator16.S Improve FreeDOS direct loading support compatibility. 2013-01-27 16:07:25 +01:00
relocator32.S Zero %ebp and %edi when entering Linux's 32-bit entry point, as 2010-09-02 22:36:09 +01:00
relocator64.S i386/relocator: Align stack in grub_relocator64_efi relocator 2017-02-02 22:24:47 +01:00
relocator_asm.S Merge mainline into newreloc. For now without boot tests 2010-08-25 03:25:18 +02:00
relocator_common.S * grub-core/lib/i386/relocator_common.S [__APPLE__ && __x86_64__]: Use 2013-11-11 23:02:51 +01:00
relocator_common_c.c Add new ports: i386-xen and x86_64-xen. This allows running GRUB in 2013-11-09 21:29:11 +01:00
setjmp.S * include/grub/dl.h: Switch from APPLE_CC to __APPLE__. 2012-02-29 14:51:09 +01:00