In buildrom, I want to be able to set the variables I care about, then use make oldconfig to choose the (hopefully) sane defaults for the rest of the options.
Here is a sample .config file that I'd like to use:
----------------------Begin .config -------------------------------- # # General setup # CONFIG_LOCALVERSION="-buildrom"
# # Mainboard # CONFIG_VENDOR_EMULATION=y CONFIG_MAINBOARD_NAME="emulation/qemu-x86" CONFIG_BOARD_EMULATION_QEMU_X86=y CONFIG_LINUXBIOS_ROMSIZE_KB_1024=y CONFIG_ARCH_X86=y CONFIG_ARCH="x86"
# # Devices # CONFIG_PCI_OPTION_ROM_RUN=y
# # Payload # CONFIG_PAYLOAD_NONE=y ----------------------End .config --------------------------------
Unfortunately, I get this warning and it requires me to hit enter on every line (suboptimal for an automated build script.) The defaults are what I want, though.
Kconfig:102:warning: defaults for choice values not supported
Is there a reason why we don't let people use the defaults?
Myles