Makefile revision 208539
153152Smarcel# $FreeBSD: head/sys/boot/Makefile 208539 2010-05-25 15:32:07Z raj $ 253152Smarcel 3156813Sru.include <bsd.own.mk> 4156813Sru 5156813Sru.if ${MK_FORTH} != "no" 6125117Sschweikh# Build the add-in FORTH interpreter. 740843SmsmithSUBDIR+= ficl 8110783Sbenno.endif 938465Smsmith 10138001Smarcel# Build EFI library. 11186073Snyan.if ${MACHINE_ARCH} == "amd64" || ${MACHINE} == "i386" || ${MACHINE_ARCH} == "ia64" 12138001SmarcelSUBDIR+= efi 13138001Smarcel.endif 14138001Smarcel 15133862Smarius# Build Open Firmware library. 1693307Sobrien.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64" 1768546SbennoSUBDIR+= ofw 1868546Sbenno.endif 1968546Sbenno 20176371Smarcel# Build U-Boot library. 21183878Sraj.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "arm" 22176371SmarcelSUBDIR+= uboot 23176371Smarcel.endif 24176371Smarcel 25199714Srnoland.if ${MACHINE_ARCH} == "amd64" || ${MACHINE} == "i386" 26185029SpjdSUBDIR+= zfs 27185029Spjd.endif 28185029Spjd 29208539Sraj.if ${MK_FDT} != "no" 30208539SrajSUBDIR+= fdt 31208539Sraj.endif 32208539Sraj 33125117Sschweikh# Pick the machine-dependent subdir based on the target architecture. 34180733SimpADIR= ${MACHINE:S/amd64/i386/:S/sun4v/sparc64/} 35180733Simp.if exists(${.CURDIR}/${ADIR}/.) 36180733SimpSUBDIR+= ${ADIR} 37180733Simp.endif 3840843Smsmith 3938465Smsmith.include <bsd.subdir.mk> 40