| Commit | Line | Data |
|---|---|---|
| 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 | |
| c1543a89 SS |
4 | .if ${MACHINE_ARCH} == "x86_64" |
| 5 | .MAKEFLAGS: MACHINE_ARCH=i386 MACHINE_PLATFORM=pc32 REALLY_X86_64=true | |
| 5ee58eed MD |
6 | .endif |
| 7 | ||
| 8 | .if !defined(NOFORTH) && ${MACHINE_ARCH} != "powerpc" | |
| 984263bc MD |
9 | # Build the add-in FORTH interpreter |
| 10 | SUBDIR+= ficl | |
| 5ee58eed MD |
11 | .endif |
| 12 | ||
| 13 | # Build OpenFirmware library | |
| 14 | .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64" | |
| 15 | SUBDIR+= ofw | |
| 16 | .endif | |
| 984263bc MD |
17 | |
| 18 | # Pick the machine-dependant subdir based on the target architecture. | |
| 65f5a4df | 19 | SUBDIR+= ${MACHINE_PLATFORM} |
| 984263bc | 20 | |
| 5ee58eed MD |
21 | # Build EFI executable on ia64 |
| 22 | .if ${MACHINE_ARCH} == "ia64" | |
| 23 | SUBDIR+= efi | |
| 984263bc MD |
24 | .endif |
| 25 | ||
| 26 | .include <bsd.subdir.mk> |