Move the create_code_slice selection logic into a
create_code_partition() wrapper in legacy.sh and update
embedded/common to provide the same entry point.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 76124 Build 73007: arc lint + arc unit
Event Timeline
Comment Actions
I don't think we should touch anything legacy, or at least avoid it as much as possible. In this context embedded can be considered legacy.
Comment Actions
I think we can leave tools/tools/nanobsd/embedded/common unchanged (reimagined embedded SoCs will be handled by default.sh as well).
Also, I think _create_code_slice() currently produces a legacy NanoBSD image equivalent to create_code_slice(), I wonder if we can use just one legacy function.
Comment Actions
Note that I'm not suggesting this unification here in this review. It is just something to keep in mind, that could be done.