]> git.baikalelectronics.ru Git - uboot.git/commit
moveconfig: add a second pass for empty #if/#endif blocks
authorChris Packham <judge.packham@gmail.com>
Wed, 30 Jan 2019 07:23:16 +0000 (20:23 +1300)
committerTom Rini <trini@konsulko.com>
Sat, 9 Feb 2019 12:50:54 +0000 (07:50 -0500)
commit6149710f8b92a9adf65ff74456bec196cb1f2882
tree0b0a234b072012a75f83fc889ed9a8dff90f363c
parentbfca0c47d6eb93e0f073c7f2e1ce4b861b0f3e2e
moveconfig: add a second pass for empty #if/#endif blocks

Moveconfig already attempts to remove empty #if/#endif blocks when there
is a matching CONFIG_ being moved. Add a second pass which covers files
without a match.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
tools/moveconfig.py