mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 08:09:22 +00:00
* grub-core/Makefile.am (efiemu): Remove leftover -DAPPLE_CC and
-DELF. * grub-core/efiemu/runtime/config.h: Use __i386__ and __x86_64__ instead of ELF*.
This commit is contained in:
1 parent
28668d808e
commit
54da019fdb
3 files changed
+18
-9
No files matched your search
@@ -19,16 +19,18 @@
|
||||
|
||||
#define GRUB_TYPES_CPU_HEADER 1
|
||||
|
||||
#ifdef ELF32
|
||||
#ifdef __i386__
|
||||
# define SIZEOF_VOID_P 4
|
||||
# define SIZEOF_LONG 4
|
||||
# define GRUB_TARGET_SIZEOF_VOID_P 4
|
||||
# define GRUB_TARGET_SIZEOF_LONG 4
|
||||
# define EFI_FUNC(x) x
|
||||
#else
|
||||
#elif defined (__x86_64__)
|
||||
# define SIZEOF_VOID_P 8
|
||||
# define SIZEOF_LONG 8
|
||||
# define GRUB_TARGET_SIZEOF_VOID_P 8
|
||||
# define GRUB_TARGET_SIZEOF_LONG 8
|
||||
# define EFI_FUNC(x) x ## _real
|
||||
#else
|
||||
#error "Unknown architecture"
|
||||
#endif
|
||||
Reference in new issue
Block a user