aboutsummaryrefslogblamecommitdiff
path: root/sys/boot/Makefile
blob: 75663dfbf2aed16906eb13e2162d5a21694c4e80 (plain) (tree)
1
2
3
4
5
6
7
8
9

           


                       
                                     
                            
      
 
                    
                                                                                        


                           
                              
                                                                


                           




                                
                                                                     
                                                                 

                        
# $FreeBSD$

.include <bsd.own.mk>

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

# Build EFI library.
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "ia64"
SUBDIR+=		efi
.endif

# Build Open Firmware library.
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
SUBDIR+=		ofw
.endif

# Build U-Boot library.
.if ${MACHINE_ARCH} == "powerpc"
SUBDIR+=		uboot
.endif

# Pick the machine-dependent subdir based on the target architecture.
SUBDIR+=		${MACHINE:S/amd64/i386/:S/sun4v/sparc64/}

.include <bsd.subdir.mk>