Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Oct 2023 21:37:28 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 4cf8075264c9 - main - ObsoleteFiles.inc: only leave ofwdump.8.gz when WITH_FDT is set
Message-ID:  <202310012137.391LbSul004352@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

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

commit 4cf8075264c9db8f3e39a1f17def58cda8803853
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-10-01 21:36:37 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-10-01 21:36:37 +0000

    ObsoleteFiles.inc: only leave ofwdump.8.gz when WITH_FDT is set
    
    Approved by:    mhorne
    Differential Revision: https://reviews.freebsd.org/D41905
    MFC after:      3 days
---
 ObsoleteFiles.inc                        | 5 -----
 tools/build/mk/OptionalObsoleteFiles.inc | 4 ++++
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index ff7e4e497fad..763578aeb652 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -17664,11 +17664,6 @@ OLD_FILES+=usr/share/man/man5/usbd.conf.5.gz
 .if ${TARGET_ARCH} != "i386" && ${TARGET_ARCH} != "amd64"
 OLD_FILES+=usr/share/man/man8/boot_i386.8.gz
 .endif
-.if ${TARGET_ARCH} != "aarch64" && ${TARGET} != "arm" && \
-    ${TARGET_ARCH} != "powerpc" && ${TARGET_ARCH} != "powerpc64" && \
-    ${TARGET_ARCH} != "sparc64" && ${TARGET} != "mips"
-OLD_FILES+=usr/share/man/man8/ofwdump.8.gz
-.endif
 OLD_FILES+=usr/share/man/man8/mount_reiserfs.8.gz
 OLD_FILES+=usr/share/man/man9/VFS_START.9.gz
 OLD_FILES+=usr/share/man/man9/cpu_critical_exit.9.gz
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 99efa469c0e7..9af0a319171a 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -2015,6 +2015,10 @@ OLD_DIRS+=usr/share/examples/uefisign
 OLD_DIRS+=usr/share/examples/ypldap
 .endif
 
+.if ${MK_FDT} == no
+OLD_FILES+=usr/share/man/man8/ofwdump.8.gz
+.endif
+
 .if ${MK_FINGER} == no
 OLD_FILES+=usr/bin/finger
 OLD_FILES+=usr/share/man/man1/finger.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310012137.391LbSul004352>