Page MenuHomeFreeBSD

ObsoleteFiles.inc: do not remove ofwdump.8 on powerpc64le
ClosedPublic

Authored by pkubaj on Sep 18 2023, 11:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 7, 12:10 PM
Unknown Object (File)
Tue, May 7, 12:12 AM
Unknown Object (File)
Thu, May 2, 9:10 PM
Unknown Object (File)
Thu, May 2, 3:12 AM
Unknown Object (File)
Mon, Apr 29, 7:25 AM
Unknown Object (File)
Wed, Apr 10, 12:55 PM
Unknown Object (File)
Mar 5 2024, 4:29 AM
Unknown Object (File)
Feb 17 2024, 10:43 AM
Subscribers

Details

Summary

ofwdump is used on powerpc64le. Also switch to just checking for riscv64,
sparc64 and mips are not supported and other architectures may use ofwdump.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 53680
Build 50571: arc lint + arc unit

Event Timeline

jhibbits added inline comments.
ObsoleteFiles.inc
17654–17655

Shouldn't amd64 and i386 be included here?

mhorne requested changes to this revision.Sep 20 2023, 6:15 PM

The existing logic appears to be outdated. ofwdump(8) is installed for every architecture except amd64 and i386. The SUBDIR is specified in, e.g. usr.sbin/Makefile.aarch64.

I think the most correct fix would be to move this entry to tools/build/mk/OptionalObsoleteFile.inc, and have it dependent on the MK_FDT build knob, but this is one step further.

This revision now requires changes to proceed.Sep 20 2023, 6:15 PM
This revision is now accepted and ready to land.Sep 25 2023, 5:28 PM