git: b48a07315ecb - main - kern: Have .m rules depend on sys/tools/makeobjops.awk

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Fri, 20 Nov 2026 19:18:02 UTC
The branch main has been updated by emaste:

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

commit b48a07315ecbaf8fd108625613285284578c071b
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-11-20 17:28:27 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-11-20 19:17:46 +0000

    kern: Have .m rules depend on sys/tools/makeobjops.awk
    
    Generated _if.[ch] files have to be rebuilt after commit bf362c1b41c8
    ("kobj: convert KOBJOPLOOKUP() to returning pointer to function").  Add
    dependencies on the build tool in files.*.
    
    Reviewed by:    imp
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D61821
---
 sys/conf/files.amd64   | 4 ++--
 sys/conf/files.arm64   | 4 ++--
 sys/conf/files.powerpc | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64
index 0eb78e3f7557..b87c847bfb87 100644
--- a/sys/conf/files.amd64
+++ b/sys/conf/files.amd64
@@ -198,9 +198,9 @@ dev/ice/ice_fwlog.c		optional	ice pci \
 dev/ice/ice_rdma.c		optional	ice pci \
 	compile-with "${NORMAL_C} -I$S/dev/ice"
 dev/ice/irdma_if.m		optional	ice pci \
-	compile-with "${NORMAL_M} -I$S/dev/ice"
+	dependency "$S/tools/makeobjops.awk" compile-with "${NORMAL_M} -I$S/dev/ice"
 dev/ice/irdma_di_if.m		optional	ice pci \
-	compile-with "${NORMAL_M} -I$S/dev/ice"
+	dependency "$S/tools/makeobjops.awk" compile-with "${NORMAL_M} -I$S/dev/ice"
 dev/ice/ice_ddp_common.c	optional	ice pci \
 	compile-with "${NORMAL_C} -I$S/dev/ice"
 dev/ice/ice_iov.c	optional	ice pci pci_iov \
diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64
index 8c56b991a645..0329c8d57302 100644
--- a/sys/conf/files.arm64
+++ b/sys/conf/files.arm64
@@ -404,9 +404,9 @@ dev/ice/ice_fwlog.c				optional ice pci \
 dev/ice/ice_rdma.c				optional ice pci \
 	compile-with "${NORMAL_C} -I$S/dev/ice"
 dev/ice/irdma_if.m				optional ice pci \
-	compile-with "${NORMAL_M} -I$S/dev/ice"
+	dependency "$S/tools/makeobjops.awk" compile-with "${NORMAL_M} -I$S/dev/ice"
 dev/ice/irdma_di_if.m				optional ice pci \
-	compile-with "${NORMAL_M} -I$S/dev/ice"
+	dependency "$S/tools/makeobjops.awk" compile-with "${NORMAL_M} -I$S/dev/ice"
 dev/ice/ice_ddp_common.c			optional ice pci \
 	compile-with "${NORMAL_C} -I$S/dev/ice"
 dev/ice/ice_iov.c	optional	ice pci pci_iov \
diff --git a/sys/conf/files.powerpc b/sys/conf/files.powerpc
index 5cd9625d268c..97dbdda6144c 100644
--- a/sys/conf/files.powerpc
+++ b/sys/conf/files.powerpc
@@ -171,9 +171,9 @@ dev/ice/ice_fwlog.c		optional	ice pci powerpc64 | ice pci powerpc64le \
 dev/ice/ice_rdma.c		optional	ice pci powerpc64 | ice pci powerpc64le \
 	compile-with "${NORMAL_C} -I$S/dev/ice"
 dev/ice/irdma_if.m		optional	ice pci powerpc64 | ice pci powerpc64le \
-	compile-with "${NORMAL_M} -I$S/dev/ice"
+	dependency "$S/tools/makeobjops.awk" compile-with "${NORMAL_M} -I$S/dev/ice"
 dev/ice/irdma_di_if.m		optional	ice pci powerpc64 | ice pci powerpc64le \
-	compile-with "${NORMAL_M} -I$S/dev/ice"
+	dependency "$S/tools/makeobjops.awk" compile-with "${NORMAL_M} -I$S/dev/ice"
 dev/ice/ice_ddp_common.c	optional	ice pci powerpc64 | ice pci powerpc64le \
 	compile-with "${NORMAL_C} -I$S/dev/ice"
 ice_ddp.c			optional	ice_ddp powerpc64 | ice pci powerpc64le \