On 29.11.23 00:20, Martin Roth via coreboot coreboot@coreboot.org wrote:
Hey Mike, I think you should be able to just append change the kconfig values when you run make to override the current settings.
something like `make menuconfig KCONFIG_WERROR=0 KCONFIG_WARN_UNKNOWN_SYMBOLS=0`
if we update where they're set in the makefile from := to ?=, you could even just have them set as environment variables so they don't need to be on the command line.
Kconfig doesn't check for the value in the variables, just for their presence. Therefore we'd need to unexport the variables, and that's not possible per-target (despite the gnu make docs claiming otherwise) or on the make command line.
I started a discussion in another thread on that, maybe we could discuss this over at https://mail.coreboot.org/hyperkitty/list/coreboot@coreboot.org/thread/M543F...