summaryrefslogtreecommitdiffstats
path: root/stand/Makefile
blob: f13be3e91e9378b4eb4ee603d23a76eed3af2bea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# $FreeBSD$

.include <src.opts.mk>

# For amd64 we have to build 32 and 64 bit versions of things. For
# others we don't. LIB32LIST is a list of libraries, which if
# included, need to be built 32-bit as well.
.if ${MACHINE_ARCH} == "amd64"
LIB32LIST=libsa ficl zfs
.endif

S.yes+=			libsa

S.${MK_FORTH}+=		ficl
S.${MK_FORTH}+=		forth
S.${MK_FDT}+=		fdt
S.${MK_LOADER_OFW}+=	ofw
S.${MK_ZFS}+=		zfs
S.yes+=			defaults
S.yes+=			man

S.${MK_LOADER_GELI}+=	geli

.include <bsd.arch.inc.mk>

S.${MK_EFI}+=		efi
S.${MK_LOADER_UBOOT}+=	uboot

.if exists(${.CURDIR}/${MACHINE}/.)
S.yes+=         ${MACHINE}
.endif

# Build the actual subdir list from S.yes, adding in the 32-bit
# variant if necessary.
.for _x in ${S.yes}
SUBDIR+=${_x}
.if defined(LIB32LIST) && ${LIB32LIST:M${_x}}
SUBDIR+=${_x}32
.endif
.endfor

.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud