Only build if_mvneta.c when FDT is defined

This is only ever used by a FDT specific attachment and calls into
FDT specific functions. Only build it when FDT is in the kernel config.
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Andrew Turner
2022-10-27 17:21:02 +01:00
parent 91e2614a71
commit 16625cabab
+1 -1
View File
@@ -296,7 +296,7 @@ dev/mmc/host/dwmmc_hisi.c optional dwmmc dwmmc_hisi fdt
dev/mmc/host/dwmmc_rockchip.c optional dwmmc rk_dwmmc fdt
dev/neta/if_mvneta_fdt.c optional neta fdt
dev/neta/if_mvneta.c optional neta mdio mii
dev/neta/if_mvneta.c optional neta mdio mii fdt
dev/ofw/ofw_cpu.c optional fdt
dev/ofw/ofw_pci.c optional fdt pci