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

Cheribsd kernel flags #321

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Cheribsd kernel flags #321

wants to merge 5 commits into from

Conversation

qwattash
Copy link
Contributor

Propose removal of global --kernel-config option.
Make the prefixed --<target>/kernel-config option accept a list of kernel configuration names. This should override the kernels to generate using the given list. The first configuration name is treated as the default kernel installed in /boot/kernel.
Add the prefixed --<target>/extra-kernel-configs option to append other kernels to build, without overriding the ones that cheribuild would otherwise build.

Add the --extra-kernel-configs option to build other kernel
configurations that are not registered within cheribuild.
This is useful to build local variants of kernel configurations
in addition to the default ones.
Now we should always use the prefixed kernel-config options.
…fig.

This allows to specify multiple custom kernels to build.
Note that this differs from --<prefix>/extra-kernel-configs in that extra-kernel-configs
always appends to any kernel that cheribuild chooses to build, while the kernel-config
option should override the entire build list. The first kernel given to --<prefix>/kernel-config
is treated as the default kernel, installed in /boot/kernel.
Had to move it to a property so that it is dynamically evaluated, as the options
are not necessarily stable on __init__().
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