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

Make cargo bootimage use cargo build instead of cargo xbuild #63

Merged
merged 10 commits into from
Jul 17, 2020

Conversation

phil-opp
Copy link
Member

@phil-opp phil-opp commented Jul 17, 2020

This updates the cargo bootimage command to build the kernel using a normal cargo build instead of cargo xbuild by default. This makes it possible to create kernels that don't depend on the cargo-xbuild crate anymore.

The cargo subcommand that is used for the kernel build can be adjusted by a new package.metadata.bootimage.build-command configuration key, which is set to ["build"]. By setting it to ["xbuild"], it is possible to make the kernel build use the cargo-xbuild crate again. It is also possible to pass additional build arguments.

This is a breaking change.

@phil-opp phil-opp merged commit f5a89b0 into master Jul 17, 2020
@phil-opp phil-opp deleted the build-with-cargo-build branch July 17, 2020 08:39
@phil-opp
Copy link
Member Author

Published as v0.9.0

phil-opp added a commit that referenced this pull request Jul 17, 2020
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.

1 participant