* conf/common.rmk (bin_UTILITIES): Add `grub-mkelfimage'.
(grub_mkelfimage_SOURCES): New variable.
(util/elf/grub-mkimage.c_DEPENDENCIES): Likewise.
* conf/i386-coreboot.rmk (bin_UTILITIES, grub_mkimage_SOURCES)
(grub_mkimage_LDFLAGS, util/elf/grub-mkimage.c_DEPENDENCIES): Remove.
* conf/powerpc-ieee1275.rmk: Likewise.
* conf/i386-ieee1275.rmk: Likewise.
* kern/ieee1275/init.c: Include `<grub/cpu/kernel.h>'.
* kern/i386/coreboot/init.c: Likewise.
* kern/i386/ieee1275/startup.S: Replace `<grub/machine/kernel.h>'
with `<grub/cpu/kernel.h>'.
(GRUB_KERNEL_MACHINE_PREFIX, GRUB_KERNEL_MACHINE_DATA_END): Renamed
to ...
(GRUB_KERNEL_CPU_PREFIX, GRUB_KERNEL_CPU_DATA_END): ... this.
* kern/i386/coreboot/startup.S: Likewise.
* include/grub/powerpc/ieee1275/kernel.h (GRUB_MOD_ALIGN)
(GRUB_MOD_GAP): Remove.
* include/grub/powerpc/kernel.h: New file.
* include/grub/i386/ieee1275/kernel.h (GRUB_KERNEL_MACHINE_PREFIX)
(GRUB_KERNEL_MACHINE_DATA_END): Remove.
* include/grub/i386/kernel.h: New file.
* include/grub/i386/coreboot/kernel.h (GRUB_MOD_ALIGN)
(GRUB_MOD_GAP, GRUB_KERNEL_MACHINE_PREFIX)
(GRUB_KERNEL_MACHINE_DATA_END): Remove.
* util/ieee1275/grub-install.in (grub_mkimage): Initialize to use
`grub-mkelfimage'.
Use --directory when invoking grub_mkimage.
* util/elf/grub-mkimage.c: Include `<grub/cpu/kernel.h>'.
(add_segments): Replace GRUB_KERNEL_MACHINE_DATA_END and
GRUB_KERNEL_MACHINE_PREFIX with GRUB_KERNEL_CPU_DATA_END
and GRUB_KERNEL_CPU_PREFIX.
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%