main/devicepkg-dev: add validation function for config fragments
There are some cases when kconfig fragments may be wrong:
- a config option has been removed from kernel
- a config depends on another config that we need to enable in the fragment
- something else?
This patch makes kernel_prepare.sh validate the resulting .config and end up with an error in case something wrong. In these cases we have to adjust fragments to fix the problems.
Closes #2490 (closed)
Important note
This MR is to the kconfig-fragments
branch and not to master
, @craftyguy thinks this can be merged with just 1 approval instead of the usual 2. The 1 approval should probably come from either @jenneron or @craftyguy, ask us if you have questions.
Edited by Administrator