Now that hw.machine_arch handles soft-float vs hard-float there is no
longer a reason for this config.
Details
Details
- Reviewers
imp kp - Commits
- rS360397: Retire the GENERICSF kernel config.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/conf/Makefile.riscv | ||
---|---|---|
22 ↗ | (On Diff #70899) | This means you can 'make tinderbox' on stable/12 again as well (right now it terminates early with an error since the host config is too old when it tries to run 'config -m' on each candidate kernel config) |
sys/conf/Makefile.riscv | ||
---|---|---|
22 ↗ | (On Diff #70899) | I should MFC the config changes to there then, but don't take that as any reason to not revert the version bump... |
Comment Actions
The following excerpt from kern.mk should also be cleaned up as part of this commit:
.if ${MACHINE_ARCH:Mriscv*sf} CFLAGS+= -march=rv64imac .else CFLAGS+= -march=rv64imafdc .endif
Otherwise, I think compilation will fail when TARGET_ARCH=riscv64sf and the FPE option is enabled.
Comment Actions
FWIW, I think the right answer is that kernels should always be riscv64 and only the userland ABI varies (so riscv64sf is really a userland-only ABI if that makes sense), but yes, we can probably remove that bit as well.