1# $FreeBSD: head/sys/boot/Makefile 209920 2010-07-12 00:49:22Z nwhitehorn $
| 1# $FreeBSD: head/sys/boot/Makefile 211679 2010-08-23 01:48:07Z imp $
|
2 3.include <bsd.own.mk>
| 2 3.include <bsd.own.mk>
|
| 4.include <bsd.arch.inc.mk>
|
4 5.if ${MK_FORTH} != "no" 6# Build the add-in FORTH interpreter. 7SUBDIR+= ficl 8.endif 9
| 5 6.if ${MK_FORTH} != "no" 7# Build the add-in FORTH interpreter. 8SUBDIR+= ficl 9.endif 10
|
10# Build EFI library. 11.if ${MACHINE_ARCH} == "amd64" || ${MACHINE} == "i386" || ${MACHINE_ARCH} == "ia64" 12SUBDIR+= efi 13.endif 14 15# Build Open Firmware library. 16.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64" || ${MACHINE_ARCH} == "sparc64" 17SUBDIR+= ofw 18.endif 19 20# Build U-Boot library. 21.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64" || ${MACHINE_ARCH} == "arm" 22SUBDIR+= uboot 23.endif 24 25.if ${MACHINE_ARCH} == "amd64" || ${MACHINE} == "i386" 26SUBDIR+= zfs 27.endif 28
| |
29.if ${MK_FDT} != "no" 30SUBDIR+= fdt 31.endif 32 33# Pick the machine-dependent subdir based on the target architecture. 34ADIR= ${MACHINE:S/amd64/i386/:S/sun4v/sparc64/:S/powerpc64/powerpc/} 35.if exists(${.CURDIR}/${ADIR}/.) 36SUBDIR+= ${ADIR} 37.endif 38 39.include <bsd.subdir.mk>
| 11.if ${MK_FDT} != "no" 12SUBDIR+= fdt 13.endif 14 15# Pick the machine-dependent subdir based on the target architecture. 16ADIR= ${MACHINE:S/amd64/i386/:S/sun4v/sparc64/:S/powerpc64/powerpc/} 17.if exists(${.CURDIR}/${ADIR}/.) 18SUBDIR+= ${ADIR} 19.endif 20 21.include <bsd.subdir.mk>
|