Open xypron opened 4 years ago
Yeah, good point! I also noticed that a while back but didn't get around to fixing it ...
I think your proposed solutions is a good workaround for now but ideally this should happen as part of the kconfig testcases, I'd say? Though in Linux, this needs toolchain environment (especially $ARCH
) configured to behave correctly, which makes this a bit more difficult ...
I've pushed the suggested workaround to master but let's keep this issue open as this seems like a general problem with the kconfig testcases at this point.
kconfig.enable can be used to enable a Kconfig option. But this is not enough. One has to run 'make olddefconfig' to avoid requests for input during the uboot_build target:
A good solution would be to call 'make olddefconfig' in UBootBuilder._build() after do_configure() by default.