]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
kconfig/merge_config.sh: Support KCONFIG_CONFIG
authorGabriel de Perthuis <g2p.code@gmail.com>
Wed, 14 Oct 2015 14:04:20 +0000 (16:04 +0200)
committerMichal Marek <mmarek@suse.com>
Wed, 14 Oct 2015 14:19:33 +0000 (16:19 +0200)
commited94fea5ba78d03808576f14745d8e59126489bd
tree9ec83afc486ff9fb200d5e0f9c1abae6a811c82b
parentd1b0dc90abdb3487a8b60ac7c843708f98ff409a
kconfig/merge_config.sh: Support KCONFIG_CONFIG

All make targets support $KCONFIG_CONFIG because they
run scripts/kconf.  Make sure merge_config.sh accesses the
correct file in all cases.

Previously this script broke in two different code paths,
one for targets like kvmconfig (which use merge_config.sh -m
then call a target that respects KCONFIG_CONFIG) and one for
direct use of the script without -m, which called make rules
that edit KCONFIG_CONFIG but verified a different file.

Signed-off-by: Gabriel de Perthuis <g2p.code@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/kconfig/merge_config.sh