Add more bits for native hammer boot support.
[dragonfly.git] / sys / boot / Makefile
CommitLineData
5ee58eed 1# $FreeBSD: src/sys/boot/Makefile,v 1.18 2003/08/16 02:48:20 obrien Exp $
65f5a4df 2# $DragonFly: src/sys/boot/Makefile,v 1.5 2007/05/18 07:41:40 dillon Exp $
984263bc 3
5ee58eed
MD
4.if ${MACHINE_ARCH} == "amd64"
5.MAKEFLAGS: MACHINE_ARCH=i386 MACHINE=i386 REALLY_AMD64=true
6.endif
7
8.if !defined(NOFORTH) && ${MACHINE_ARCH} != "powerpc"
984263bc
MD
9# Build the add-in FORTH interpreter
10SUBDIR+= ficl
5ee58eed
MD
11.endif
12
13# Build OpenFirmware library
14.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
15SUBDIR+= ofw
16.endif
984263bc
MD
17
18# Pick the machine-dependant subdir based on the target architecture.
65f5a4df 19SUBDIR+= ${MACHINE_PLATFORM}
984263bc 20
5ee58eed
MD
21# Build EFI executable on ia64
22.if ${MACHINE_ARCH} == "ia64"
23SUBDIR+= efi
984263bc
MD
24.endif
25
26.include <bsd.subdir.mk>