]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
moveconfig: Ignore duplicate configs when moving
authorJoe Hershberger <joe.hershberger@ni.com>
Tue, 19 May 2015 18:21:18 +0000 (13:21 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:46:06 +0000 (22:46 +0200)
commitce062fc86613ecc93c8a6f9fa434244f11e0f997
tree4fee6eae96eb3510fd7067e1e783c991199ee4ac
parentad34c7b14c7be0150dbd74abaceb5136aea407a3
moveconfig: Ignore duplicate configs when moving

When moving configs, it is important to know what was defined in the
config header even if it duplicates the configs coming from Kconfig.

This is specifically needed for the case where a config is set to
default 'y' in the Kconfig. This would previously cause the actual value
from the include config to be filtered out, and moveconfig.py would
think that it was 'n'... This means that the value that should be 'y'
is now (in every defconfig) set to 'not set'.

tools/moveconfig.py now defines KCONFIG_IGNORE_DUPLICATES to prevent the
filtering from happening and selecting wrong values for the defconfig.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/Makefile.autoconf
tools/moveconfig.py