git: d0510c98146f - main - genassym: Remove stale *if.h depends
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 Dec 2024 17:54:53 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=d0510c98146f141fcc8f989e8f52625248d7f219
commit d0510c98146f141fcc8f989e8f52625248d7f219
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-12-06 17:30:20 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-12-06 17:31:36 +0000
genassym: Remove stale *if.h depends
Since we no longer need to include intr.h, which depends on sys/bus.h,
in genassym, we no longer need to include it in the Makefile depends.
PR: 283041
Sponsored by: Netflix
Reviewed by: ehem_freebsd_m5p.com, mmel, andrew
Differential Revision: https://reviews.freebsd.org/D47848
---
sys/conf/Makefile.arm | 3 ---
sys/conf/Makefile.riscv | 3 ---
2 files changed, 6 deletions(-)
diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm
index 2dc566869c14..216f012d688e 100644
--- a/sys/conf/Makefile.arm
+++ b/sys/conf/Makefile.arm
@@ -64,9 +64,6 @@ SYSTEM_LD= \
--strip-symbol='$$[adt]*' \
${.TARGET}
-# hack because genassym.c includes sys/bus.h which includes these.
-genassym.o: bus_if.h device_if.h
-
%BEFORE_DEPEND
%OBJS
diff --git a/sys/conf/Makefile.riscv b/sys/conf/Makefile.riscv
index c6b06f681777..12d8e62e1b9a 100644
--- a/sys/conf/Makefile.riscv
+++ b/sys/conf/Makefile.riscv
@@ -39,9 +39,6 @@ LDFLAGS+= --defsym='kernel_lma=${KERNEL_LMA}'
CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls
.endif
-# hack because genassym.c includes sys/bus.h which includes these.
-genassym.o: bus_if.h device_if.h
-
%BEFORE_DEPEND
%OBJS