Detect if missing must_be_set keys in kconfig file#1
Detect if missing must_be_set keys in kconfig file#1luisfponce wants to merge 1 commit intoclearlinux:masterfrom
Conversation
Display if any of the keys in MUST_BE_SET Dict is not contained in the kernel config file.
|
the current behavior is different; it means that you can run the check on kernels that do not have the option at all. your new behavior would ban this basically; I am not 100% convinced yet that this si a good idea |
|
(the commit message describes the what, not the why, so I'm guessing at intent, might be better to just say here explicitly why you want this) |
|
My apologizes for the lack of information. |
|
thinking more about this we really have 2 separate cases, and we likely should split this one list into two lists: Case 1) If this variable exists, it must be =y current code is case 1, your patch turns it into case 2, |
|
The both cases are supported in the new feature: Current behavior without arguments: New behavior with --missing argument This list shows which config must be set and are not found. Maybe we should change the --missing argument. |
|
the point is that we need the different behaviors for different options.
some options are type 1, some are type 2.
a command line option does not give us that.
…On Wed, Oct 10, 2018 at 5:13 AM Miguel Bernal Marin < ***@***.***> wrote:
The both cases are supported in the new feature:
Current behavior without arguments:
$ kcc config
$
New behavior with --missing argument
$ kcc --missing config
Is not in config file and must be set:
CONFIG_CC_STACKPROTECTOR
CONFIG_STRICT_DEVMEM
CONFIG_IO_STRICT_DEVMEM
CONFIG_SLAB_FREELIST_HARDENED
CONFIG_DEBUG_SET_MODULE_RONX
$
This list shows which config must be set and are not found.
Maybe we should change the *--missing* argument.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABPeFcLiG0y6KoPzcveQrfqv9sM-4iUrks5ujRFdgaJpZM4XEZJO>
.
|
Display if any of the keys in MUST_BE_SET Dict is not contained in the
kernel config file.