xref: /freebsd/stand/i386/Makefile (revision 1b10e191f341111fad7be32ead11484dfd09b800)
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.yes+=	.WAIT
12
13SUBDIR.yes+=	mbr pmbr boot0 boot0sio boot2 cdboot gptboot \
14		isoboot
15
16SUBDIR.${MK_FORTH}+= loader_4th
17SUBDIR.${MK_LOADER_LUA}+= loader_lua
18SUBDIR.yes+=	loader_simp
19
20# special boot programs, 'self-extracting boot2+loader'
21SUBDIR.yes+=	pxeldr
22
23SUBDIR.${MK_LOADER_ZFS}+=	zfsboot gptzfsboot
24
25SUBDIR_DEPEND_pxeldr+=	loader_${LOADER_DEFAULT_INTERP}
26
27.include <bsd.subdir.mk>
28