btx: Add FreeBSD's r256293 (fixes boot on Jetway NF81 mobo with RAID enabled).
[dragonfly.git] / sys / boot / Makefile
1 # $FreeBSD: src/sys/boot/Makefile,v 1.18 2003/08/16 02:48:20 obrien Exp $
2
3 .if ${MACHINE_ARCH} == "x86_64"
4 .MAKEFLAGS:  MACHINE_ARCH=i386 MACHINE_PLATFORM=pc32 REALLY_X86_64=true
5 .else
6 .MAKEFLAGS:  REALLY_X86_64=false
7 .endif
8
9 # Build DLoader
10 SUBDIR+=                dloader
11
12 # Build OpenFirmware library
13 .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
14 SUBDIR+=                ofw
15 .endif
16
17 # Pick the machine-dependant subdir based on the target architecture.
18 .if ${REALLY_X86_64} == "true"
19 SUBDIR+=                pc32
20 .else
21 SUBDIR+=                ${MACHINE_PLATFORM}
22 .endif
23
24 # Build EFI executable on ia64
25 .if ${MACHINE_ARCH} == "ia64"
26 SUBDIR+=                efi
27 .endif
28
29 .include <bsd.subdir.mk>