2004-07-11 Marco Gerards <metgerards@student.han.nl>
* conf/i386-pc.rmk (pkgdata_IMAGE): Add pxeboot.img. (pxeboot_img_SOURCES): New variable. (pxeboot_img_ASFLAGS): Likewise. (pxeboot_img_LDFLAGS): Likewise. * boot/i386/pc/pxeboot.S: New file. Based on pxeloader.S from GRUB Legacy and boot.S. Adopted for GRUB 2 by lode leroy <lode_leroy@hotmail.com>.
This commit is contained in:
parent
6c51eb648e
commit
020616c2b2
4 changed files with 82 additions and 2 deletions
|
@ -4,13 +4,18 @@ COMMON_ASFLAGS = -nostdinc -fno-builtin
|
|||
COMMON_CFLAGS = -fno-builtin -mrtd -mregparm=3
|
||||
|
||||
# Images.
|
||||
pkgdata_IMAGES = boot.img diskboot.img kernel.img
|
||||
pkgdata_IMAGES = boot.img diskboot.img kernel.img pxeboot.img
|
||||
|
||||
# For boot.img.
|
||||
boot_img_SOURCES = boot/i386/pc/boot.S
|
||||
boot_img_ASFLAGS = $(COMMON_ASFLAGS)
|
||||
boot_img_LDFLAGS = -nostdlib -Wl,-N,-Ttext,7C00
|
||||
|
||||
# For pxeboot.img
|
||||
pxeboot_img_SOURCES = boot/i386/pc/pxeboot.S
|
||||
pxeboot_img_ASFLAGS = $(COMMON_ASFLAGS)
|
||||
pxeboot_img_LDFLAGS = -nostdlib -Wl,-N,-Ttext,8000
|
||||
|
||||
# For diskboot.img.
|
||||
diskboot_img_SOURCES = boot/i386/pc/diskboot.S
|
||||
diskboot_img_ASFLAGS = $(COMMON_ASFLAGS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue