1# $FreeBSD$ 2 3# This file is not autogenerated - take care! 4 5.if !defined(MK_FORTH) 6.include <src.opts.mk> 7.endif 8 9DEP_MACHINE?= ${MACHINE} 10 11_sys_boot_efi= stand/efi/loader stand/efi/boot1 12.if ${MK_FDT} != "no" 13_sys_boot_fdt= stand/fdt stand/efi/fdt 14.endif 15.if ${MK_ZFS} != "no" 16_sys_boot_zfs= stand/zfs 17.endif 18 19DIRDEPS = \ 20 etc \ 21 etc/newsyslog.conf.d \ 22 etc/sendmail \ 23 rescue/librescue \ 24 rescue/rescue \ 25 26.if ${MK_BOOT} != "no" 27DIRDEPS+= stand/common 28 29.if ${MK_FORTH} != "no" 30DIRDEPS+= \ 31 stand/ficl \ 32 stand/forth \ 33 34.endif 35 36DIRDEPS.x86sys= \ 37 stand/efi/libefi \ 38 stand/geli \ 39 stand/i386/boot0 \ 40 stand/i386/boot0sio \ 41 stand/i386/boot2 \ 42 stand/i386/btx/btx \ 43 stand/i386/btx/btxldr \ 44 stand/i386/btx/lib \ 45 stand/i386/cdboot \ 46 stand/i386/gptboot \ 47 stand/i386/libfirewire \ 48 stand/i386/libi386 \ 49 stand/i386/loader \ 50 stand/i386/mbr \ 51 stand/i386/pmbr \ 52 stand/i386/pxeldr \ 53 stand/libsa32 \ 54 ${_sys_boot_zfs} \ 55 56.if ${MK_ZFS} != "no" 57DIRDEPS.x86sys+= \ 58 stand/i386/gptzfsboot \ 59 stand/i386/zfsboot \ 60 stand/i386/zfsloader \ 61 62DIRDEPS+= \ 63 sbin/zfsbootcfg \ 64 65.endif 66 67DIRDEPS.amd64= \ 68 ${DIRDEPS.x86sys} \ 69 ${_sys_boot_efi} \ 70 stand/ficl32 \ 71 stand/userboot/test \ 72 stand/userboot/userboot \ 73 74.if ${MK_ZFS} != "no" 75DIRDEPS.amd64+= \ 76 stand/zfs32 \ 77 78.endif 79 80.if ${MK_EFI} != "no" 81DIRDEPS+= \ 82 usr.sbin/efivar \ 83 84.endif 85 86DIRDEPS.arm= ${_sys_boot_fdt} ${_sys_boot_efi} 87DIRDEPS.arm64= ${_sys_boot_fdt} ${_sys_boot_efi} 88DIRDEPS.i386= ${DIRDEPS.x86sys} ${_sys_boot_efi} 89DIRDEPS.powerpc= ${_sys_boot_fdt} stand/libsa32 stand/ofw stand/uboot 90.endif 91 92DIRDEPS+= ${DIRDEPS.${DEP_MACHINE}:U} 93 94.if ${DEP_MACHINE} == "amd64" 95# do not build stand/i386 for amd64 96DIRDEPS:= ${DIRDEPS:Nstand/i386*} ${DIRDEPS:Mstand/i386*:S/$/.i386,i386/} 97.endif 98 99.include <dirdeps.mk> 100