ofwdump is used on powerpc64le. Also switch to just checking for riscv64,
sparc64 and mips are not supported and other architectures may use ofwdump.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 53632 Build 50523: arc lint + arc unit
Event Timeline
ObsoleteFiles.inc | ||
---|---|---|
17655 | Shouldn't amd64 and i386 be included here? |
Comment Actions
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.