Cheribsd kernel flags#321
Draft
qwattash wants to merge 5 commits into
Draft
Conversation
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__().
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Propose removal of global
--kernel-configoption.Make the prefixed
--<target>/kernel-configoption 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-configsoption to append other kernels to build, without overriding the ones that cheribuild would otherwise build.