mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +00:00
7acb51f681
This is part of a project for adding the ability to create hybrid CD/USB boot images. In the BIOS case when booting from something that isn't a CD we need some extra boot code to actually find our next stage (loader) within an ISO9660 filesystem. This code will reside in a GPT partition (similar to gptboot(8) from which it is derived) and looks for /boot/loader in an ISO9660 filesystem on the image. Reviewed by: imp Sponsored by: iXsystems, Inc. Differential Revision: https://reviews.freebsd.org/D14914
24 lines
406 B
Makefile
24 lines
406 B
Makefile
# $FreeBSD$
|
|
|
|
NO_OBJ=t
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
SUBDIR.yes= mbr pmbr boot0 boot0sio btx boot2 cdboot gptboot \
|
|
isoboot libi386
|
|
|
|
SUBDIR.${MK_LOADER_FIREWIRE}+= libfirewire
|
|
|
|
SUBDIR.yes+= loader
|
|
|
|
# special boot programs, 'self-extracting boot2+loader'
|
|
SUBDIR.yes+= pxeldr
|
|
|
|
.if ${MACHINE_CPUARCH} == "i386"
|
|
SUBDIR.yes+= kgzldr
|
|
.endif
|
|
|
|
SUBDIR.${MK_ZFS}+= zfsboot gptzfsboot zfsloader
|
|
|
|
.include <bsd.subdir.mk>
|