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