kconfig: qconf: use if_changed for qconf.moc rule
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 29 Jul 2020 17:02:37 +0000 (02:02 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 1 Aug 2020 11:54:39 +0000 (20:54 +0900)
commitc3cd7cfad51ab521bf4c3edd050f3dcf275e9ee8
treeabb0b224ef6bd0e568e408155ac79572f4e88142
parent6020db504cece0d93cc31c6f73609ef1304607e2
kconfig: qconf: use if_changed for qconf.moc rule

Regenerate qconf.moc when the moc command is changed.

This also allows 'make mrproper' to clean it up. Previously, it was
not cleaned up because 'clean-files += qconf.moc' was missing.
Now 'make mrproper' correctly cleans it up because files listed in
'targets' are cleaned.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/Makefile