]> git.proxmox.com Git - grub2.git/commit - configure.ac
Fix emu on mipsel.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 11 Sep 2010 14:58:06 +0000 (16:58 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 11 Sep 2010 14:58:06 +0000 (16:58 +0200)
commit050abaeaa80014f4ea847ef5dea4b445014a0ded
tree438934790c4efc007b7307150c40368be599eca4
parent5ed7d816b406f191a8f787dbac888ab0d69729ca
Fix emu on mipsel.

* conf/Makefile.common (CFLAGS_PLATFORM): Add -mflush-func
=grub_cpu_flush_cache on all mips and not only yeeloong.
* configure.ac (COND_mips): New conditional.
* grub-core/Makefile.am (KERNEL_HEADER_FILES): Add libgcc on all
platforms.
* grub-core/kern/emu/cache.S (__mips__): Use _flush_cache.
* grub-core/kern/emu/full.c (grub_arch_dl_init_linker)
[GRUB_LINKER_HAVE_INIT]: New function.
(grub_emu_post_init): Likewise.
* grub-core/kern/emu/lite.c (grub_emu_post_init): Likewise.
* grub-core/kern/emu/main.c: Use grub_emu_post_init.
* include/grub/cache.h (_mips): Include mips/cache.h.
* include/grub/disk.h [GRUB_UTIL || GRUB_MACHINE_EMU]: Add missing
LVM and RAID prototypes.
* include/grub/emu/misc.h (grub_emu_post_init): New proto.
* include/grub/mips/time.h (grub_cpu_idle) [GRUB_MACHINE_EMU]: New
function.
12 files changed:
ChangeLog
conf/Makefile.common
configure.ac
grub-core/Makefile.am
grub-core/kern/emu/cache.S
grub-core/kern/emu/full.c
grub-core/kern/emu/lite.c
grub-core/kern/emu/main.c
include/grub/cache.h
include/grub/disk.h
include/grub/emu/misc.h
include/grub/mips/time.h