FreeBSD/Linux Kernel Cross Reference
sys/boot/Makefile
1 # $FreeBSD: releng/8.1/sys/boot/Makefile 200220 2009-12-07 16:37:02Z rnoland $
2
3 .include <bsd.own.mk>
4
5 .if ${MK_FORTH} != "no"
6 # Build the add-in FORTH interpreter.
7 SUBDIR+= ficl
8 .endif
9
10 # Build EFI library.
11 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE} == "i386" || ${MACHINE_ARCH} == "ia64"
12 SUBDIR+= efi
13 .endif
14
15 # Build Open Firmware library.
16 .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
17 SUBDIR+= ofw
18 .endif
19
20 # Build U-Boot library.
21 .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "arm"
22 SUBDIR+= uboot
23 .endif
24
25 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE} == "i386"
26 SUBDIR+= zfs
27 .endif
28
29 # Pick the machine-dependent subdir based on the target architecture.
30 ADIR= ${MACHINE:S/amd64/i386/:S/sun4v/sparc64/}
31 .if exists(${.CURDIR}/${ADIR}/.)
32 SUBDIR+= ${ADIR}
33 .endif
34
35 .include <bsd.subdir.mk>
Cache object: 259599a3daa168399a3470f1bcfbeb72
|