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

Added submodule check #1801

Merged

Conversation

bgrayson-mips
Copy link
Contributor

This patch adds a check that the cloning operation was done properly, with the submodule. If that check fails, it will print a message and then do the proper git submodule command so that the docs-resources/ submodule and any other submodules are properly checked out. If desired, the git command could be removed and it could just print the command to invoke -- I'm open to feedback on that.

The phony target submodule-check is only added as a dependency on the build, build-container, and build-no-container targets, which should suffice for most oops-forgot-submodule mistakes.

Copy link
Member

@aswaterman aswaterman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @bgrayson-mips.

@aswaterman aswaterman merged commit 866cfb8 into riscv:main Jan 15, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants