xref: /freebsd/stand/i386/Makefile (revision 25ecdc7d52770caf1c9b44b5ec11f468f6b636f3)
1# $FreeBSD$
2
3NO_OBJ=t
4
5.include <bsd.init.mk>
6
7# Almost everything else here relies on btxldr, so we must make sure it's built
8# before everything else proceeds so we don't end up building against a stale
9# btxldr and ending up with a build-during-install scenario.
10SUBDIR.yes+=	btx libi386
11SUBDIR.${MK_LOADER_FIREWIRE}+=	libfirewire
12SUBDIR.yes+=	.WAIT
13
14SUBDIR.yes+=	mbr pmbr boot0 boot0sio boot2 cdboot gptboot \
15		isoboot
16
17SUBDIR.${MK_FORTH}+= loader_4th
18SUBDIR.${MK_LOADER_LUA}+= loader_lua
19SUBDIR.yes+=	loader_simp
20
21# special boot programs, 'self-extracting boot2+loader'
22SUBDIR.yes+=	pxeldr
23
24SUBDIR.${MK_LOADER_ZFS}+=	zfsboot gptzfsboot
25
26SUBDIR_DEPEND_pxeldr+=	loader_${LOADER_DEFAULT_INTERP}
27
28.include <bsd.subdir.mk>
29