Hi, Fabio, I haven't ever written Kbuild rules but as far as I understand that message "Symbol: STRICT_KERNEL_RWX [=y] [is] Visible if: ARCH_HAS_STRICT_KERNEL_RWX [=y] && ARCH_OPTIONAL_KERNEL_RWX [=n]" seems to say that we can see and enable/disable STRICT_KERNEL_RWX if and only if ARCH_HAS_STRICT_KERNEL_RWX is set to "yes" AND ARCH_OPTIONAL_KERNEL_RWX is set to "no". Is it me that I'm misunderstanding the above-mentioned message from "make menuconfig"? Yes I select or set options using make menuconfig. But this CONFIG_STRICT_KERNEL_RWX was not settable in the menuconfig.(only appear in the search) That’s why I set ARCH_OPTIONAL_KERNEL_RWX to =n. This ARCH_OPTIONAL_KERNEL_RWX was not settable through menuconfig either. If the visibility condition is not met, the config menu for that config variable does not appear in the menuconfig window. (The menu is not visible in the specified location, you can check it yourself. As you said, some menus become selectable when the condition is met and is meaningful) Chan From: FMDF <fmdefrancesco@xxxxxxxxx> On Fri, 18 Mar 2022, 07:04 Chan Kim, <ckim@xxxxxxxxxx> wrote:
Now I'm a bit confused... why do you say that "It says this option is visible when ARCH_OPTIONAL_KERNEL_RWX is =y"? I haven't ever written Kbuild rules but as far as I understand that message "Symbol: STRICT_KERNEL_RWX [=y] [is] Visible if: ARCH_HAS_STRICT_KERNEL_RWX [=y] && ARCH_OPTIONAL_KERNEL_RWX [=n]" seems to say that we can see and enable/disable STRICT_KERNEL_RWX if and only if ARCH_HAS_STRICT_KERNEL_RWX is set to "yes" AND ARCH_OPTIONAL_KERNEL_RWX is set to "no". Is it me that I'm misunderstanding the above-mentioned message from "make menuconfig"?
For sure, I'd never do this. Why don't you simply use make menuconfig for enabling/disabling options? Options are strictly interrelated and largely depend on others. Why do you want to bypass dependency checks?
Again, if it's not me that I'm missing something, the following errors are simply explained by your weird way to enable/disable options. Please correct me if I didn't get something that you wrote (I'm very tired now after a long night staying awoke :)) Regards, Fabio M. De Francesco
|
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies