Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the build system, making it more flexible #473

Open
vacantron opened this issue Aug 3, 2024 · 1 comment
Open

Improve the build system, making it more flexible #473

vacantron opened this issue Aug 3, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@vacantron
Copy link
Collaborator

Given the growing scale of the project, the Makefile becomes more complex to set various kinds of features and check the related prerequisites. Using the automatic build tool might help us simplify these works.

@vacantron vacantron added enhancement New feature or request help wanted Extra attention is needed labels Aug 3, 2024
@vacantron vacantron self-assigned this Aug 3, 2024
@jserv jserv changed the title Use cmake or menson to build the project Improve the build system, making it more flexible Aug 3, 2024
@jserv jserv added this to the release-2024.2 milestone Oct 19, 2024
@jserv
Copy link
Contributor

jserv commented Nov 6, 2024

I plan to take an incremental approach, starting by enhancing the existing modular GNU Make-based build system before eventually transitioning to other build systems once the current issues are resolved. The first step will be to introduce Kconfiglib, as done in the Mado project, to streamline option dependency tracking and reduce code bloat in the Makefile. Additionally, Mado's updated mk/common.mk provides a collection of helper rules for GNU Make that simplify managing source and target files. These rules efficiently handle multiple targets, dependencies, and useful file generation throughout the build process. Adopting this refined script could make the rv32emu build system more flexible and maintainable.

@jserv jserv self-assigned this Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants