git: 16625cabab86 - main - Only build if_mvneta.c when FDT is defined

From: Andrew Turner <andrew_at_FreeBSD.org>
Date: Thu, 27 Oct 2022 16:24:23 UTC
The branch main has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=16625cabab86c913740c8e881382e0157c5fd6c0

commit 16625cabab86c913740c8e881382e0157c5fd6c0
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2022-10-27 16:21:02 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2022-10-27 16:21:02 +0000

    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
---
 sys/conf/files.arm64 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64
index a1392238cb5c..3c7a2ad6c00a 100644
--- a/sys/conf/files.arm64
+++ b/sys/conf/files.arm64
@@ -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