* Makefile.in (TARGET_CPPFLAGS) [emu]: Remove -nostdinc -isystem. (pkglib_DATA) [emu]: Remove moddep.lst command.lst fs.lst partmap.lst parttool.lst handler.lst video.lst crypto.lst terminal.lst. (all-local): Add $(GRUB_EMU). (install-local): Install $(GRUB_EMU). (uninstall): Uninstall $(GRUB_EMU). * commands/parttool.c: Replace GRUB_UTIL with GRUB_NO_MODULES. * kern/dl.c: Likewise. * commands/sleep.c: Not include machine/time.h. * conf/any-emu.rmk (COMMON_LDFLAGS): New variable. (COMMON_CFLAGS): Likewise. (sbin_UTILITIES): Remove grub-emu. (grub_emu_SOURCES): Removed. (kernel_img_RELOCATABLE): New variable. (pkglib_PROGRAMS): Add kernel.img. (kernel_img_SOURCES): New variable (kernel_img_CFLAGS): Likewise. (kernel_img_LDFLAGS): Likewise. (TARGET_NO_STRIP): Likewise. (TARGET_NO_DYNAMIC_MODULES): Likewise. (pkglib_MODULES): Add progname.mod, hostfs.mod, host.mod, reboot.mod, halt.mod, cpuid.mod, usb.mod, sdl.mod and pci.mod. (grub-emu): New target. (GRUB_EMU): New variable. * configure.ac: Whitelist -emu as possible x86_64 architecture. * efiemu/main.c: Replace GRUB_UTIL with GRUB_MACHINE_EMU. * loader/xnu.c: Likewise. * include/grub/pci.h: Likewise. * genemuinit.sh: New file. * genemuinitheader.sh: Likewise. * genmk.rb: Don't strip if TARGET_NO_STRIP is yes. Support TARGET_NO_DYNAMIC_MODULES. * include/grub/dl.h (GRUB_NO_MODULES): New variable. * commands/search.c: Fix GRUB_MOD_INIT and GRUB_MOD_FINI arguments. * disk/loopback.c: Likewise. * font/font_cmd.c: Likewise. * partmap/acorn.c: Likewise. * partmap/amiga.c: Likewise. * partmap/apple.c: Likewise. * partmap/gpt.c: Likewise. * partmap/msdos.c: Likewise. * partmap/sun.c: Likewise. * parttool/msdospart.c: Likewise. * term/gfxterm.c: Likewise. * video/bitmap.c: Likewise. * video/readers/jpeg.c: Likewise. * video/readers/png.c: Likewise. * video/readers/tga.c: Likewise. * video/video.c: Likewise. * util/grub-emu.c (read_command_list): Removed. (main): Don't call util_init_nls. * util/misc.c (grub_err_printf) [!GRUB_UTIL]: Removed. (grub_util_init_nls) [!GRUB_UTIL]: Likewise.
This is GRUB 2, the second version of the GRand Unified Bootloader. GRUB 2 is rewritten from scratch to make GNU GRUB cleaner, safer, more robust, more powerful, and more portable. See the file NEWS for a description of recent changes to GRUB 2. See the file INSTALL for instructions on how to build and install the GRUB 2 data and program files. Please visit the official web page of GRUB 2, for more information. The URL is <http://www.gnu.org/software/grub/grub.html>. For now, there is not much documentation yet. Please look at the GRUB Wiki <http://grub.enbug.org> for testing procedures.
Description
Languages
C
82.5%
Assembly
13.6%
M4
1.4%
Shell
1.3%
Makefile
0.5%
Other
0.5%