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