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 rescue/rescue \ 23 24.if ${MK_BOOT} != "no" 25DIRDEPS+= sys/boot/common 26 27.if ${MK_FORTH} != "no" 28DIRDEPS+= \ 29 sys/boot/ficl \ 30 sys/boot/forth \ 31 32.endif 33 34DIRDEPS.x86sys= \ 35 sys/boot/efi/libefi \ 36 sys/boot/geli \ 37 sys/boot/i386/boot0 \ 38 sys/boot/i386/boot0sio \ 39 sys/boot/i386/boot2 \ 40 sys/boot/i386/btx/btx \ 41 sys/boot/i386/btx/btxldr \ 42 sys/boot/i386/btx/lib \ 43 sys/boot/i386/cdboot \ 44 sys/boot/i386/gptboot \ 45 sys/boot/i386/kgzldr \ 46 sys/boot/i386/libfirewire \ 47 sys/boot/i386/libi386 \ 48 sys/boot/i386/loader \ 49 sys/boot/i386/mbr \ 50 sys/boot/i386/pmbr \ 51 sys/boot/i386/pxeldr \ 52 sys/boot/libstand32 \ 53 ${_sys_boot_zfs} \ 54 55.if ${MK_ZFS} != "no" 56DIRDEPS.x86sys+= \ 57 sys/boot/i386/gptzfsboot \ 58 sys/boot/i386/zfsboot \ 59 sys/boot/i386/zfsloader \ 60 61DIRDEPS+= \ 62 sbin/zfsbootcfg \ 63 64.endif 65 66DIRDEPS.amd64= \ 67 ${DIRDEPS.x86sys} \ 68 ${_sys_boot_efi} \ 69 sys/boot/ficl32 \ 70 sys/boot/userboot/ficl \ 71 sys/boot/userboot/libstand \ 72 sys/boot/userboot/test \ 73 sys/boot/userboot/userboot \ 74 75.if ${MK_ZFS} != "no" 76DIRDEPS.amd64+= \ 77 sys/boot/userboot/zfs \ 78 79.endif 80 81.if ${MK_EFI} != "no" 82DIRDEPS+= \ 83 usr.sbin/efivar \ 84 85.endif 86 87DIRDEPS.arm= ${_sys_boot_fdt} ${_sys_boot_efi} 88DIRDEPS.arm64= ${_sys_boot_fdt} ${_sys_boot_efi} 89DIRDEPS.i386= ${DIRDEPS.x86sys} ${_sys_boot_efi} 90DIRDEPS.powerpc= ${_sys_boot_fdt} sys/boot/libstand32 sys/boot/ofw sys/boot/uboot 91DIRDEPS.pc98= sys/boot/libstand32 92DIRDEPS.sparc64= sys/boot/ofw ${_sys_boot_zfs} 93.endif 94 95DIRDEPS+= ${DIRDEPS.${MACHINE}:U} 96 97.include <dirdeps.mk> 98