summaryrefslogtreecommitdiffstats
path: root/sys/boot/Makefile
blob: 691ca0f4ded962c1df81bd028d3810a77a836caa (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
# $FreeBSD$

# Build the add-in FORTH interpreter
.if ${MACHINE_ARCH} != "ia64"
SUBDIR+=		ficl
.endif

# Build OpenFirmware library on PowerPC
.if ${MACHINE_ARCH} == "powerpc"
SUBDIR+=		ofw
.endif

# Pick the machine-dependant subdir based on the target architecture.
# XXX pc98 is basicly a special i386 with MACHINE_ARCH=i386 and MACHINE=pc98.
.if ${MACHINE_ARCH} == "i386" && ${MACHINE} == "pc98"
SUBDIR+=		${MACHINE}
.else
SUBDIR+=		${MACHINE_ARCH}
.endif

# Build ARC / AlphaBIOS executable on the Alpha
# (this is a WIP (work in progress))
#.if ${MACHINE_ARCH} == "alpha"
#SUBDIR+=		arc
#.endif

# Build EFI executable on ia64
.if ${MACHINE_ARCH} == "ia64"
SUBDIR+=		efi
.endif

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