Leif Lindholm c79ebcd18c i386: Don't include lib/i386/reset.c in EFI builds
Commit 0ba90a7f0178 ("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
..
2011-05-13 16:36:05 +02:00
2017-05-08 20:53:28 +02:00
2017-09-07 23:29:31 +02:00
2010-08-30 00:54:15 +02:00
2013-11-07 06:35:50 +01:00
2015-03-03 20:50:37 +01:00
2016-10-27 16:22:06 +02:00
2011-07-05 20:24:20 +02:00
2012-02-26 18:09:07 +01:00
2018-06-23 21:40:55 +02:00
2013-12-18 05:28:05 +01:00
2016-02-12 12:39:38 +01:00
2015-06-20 23:38:18 +03:00
2016-02-12 16:07:57 +01:00
2013-11-16 20:52:55 +01:00