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 9_sys_boot_efi= sys/boot/efi/loader sys/boot/efi/boot1 10.if ${MK_FDT} != "no" 11_sys_boot_fdt= sys/boot/fdt sys/boot/efi/fdt 12.endif 13.if ${MK_ZFS} != "no" 14_sys_boot_zfs= sys/boot/zfs 15.endif 16 17DIRDEPS = \ 18 etc \ 19 etc/newsyslog.conf.d \ 20 etc/sendmail \ 21 rescue/librescue \ 22 23.if ${MK_BOOT} != "no" 24DIRDEPS+= sys/boot/common 25 26.if ${MK_FORTH} != "no" 27DIRDEPS+= \ 28 sys/boot/ficl \ 29 sys/boot/forth \ 30 31.endif 32 33DIRDEPS.x86sys= \ 34 sys/boot/efi/libefi \ 35 sys/boot/i386/boot0 \ 36 sys/boot/i386/boot0sio \ 37 sys/boot/i386/boot2 \ 38 sys/boot/i386/btx/btx \ 39 sys/boot/i386/btx/btxldr \ 40 sys/boot/i386/btx/lib \ 41 sys/boot/i386/cdboot \ 42 sys/boot/i386/gptboot \ 43 sys/boot/i386/libfirewire \ 44 sys/boot/i386/libi386 \ 45 sys/boot/i386/loader \ 46 sys/boot/i386/mbr \ 47 sys/boot/i386/pmbr \ 48 sys/boot/i386/pxeldr \ 49 sys/boot/libstand32 \ 50 ${_sys_boot_zfs} \ 51 52.if ${MK_ZFS} != "no" 53DIRDEPS.x86sys+= \ 54 sys/boot/i386/gptzfsboot \ 55 sys/boot/i386/zfsboot \ 56 sys/boot/i386/zfsloader \ 57 58.endif 59 60DIRDEPS.amd64= \ 61 ${DIRDEPS.x86sys} \ 62 ${_sys_boot_efi} \ 63 sys/boot/ficl32 \ 64 sys/boot/userboot/ficl \ 65 sys/boot/userboot/libstand \ 66 sys/boot/userboot/test \ 67 sys/boot/userboot/userboot \ 68 69.if ${MK_ZFS} != "no" 70DIRDEPS.amd64+= \ 71 sys/boot/userboot/zfs \ 72 73.endif 74 75DIRDEPS.arm= ${_sys_boot_fdt} ${_sys_boot_efi} 76DIRDEPS.arm64= ${_sys_boot_fdt} ${_sys_boot_efi} 77DIRDEPS.i386= ${DIRDEPS.x86sys} sys/boot/efi/libefi 78DIRDEPS.powerpc= ${_sys_boot_fdt} sys/boot/libstand32 sys/boot/ofw sys/boot/uboot 79DIRDEPS.pc98= sys/boot/libstand32 80DIRDEPS.sparc64= sys/boot/ofw ${_sys_boot_zfs} 81.endif 82 83DIRDEPS+= ${DIRDEPS.${MACHINE}:U} 84 85.include <dirdeps.mk> 86