]> git.baikalelectronics.ru Git - uboot.git/commit
Makefile: Remove old of-platdata files before regenerating
authorSimon Glass <sjg@chromium.org>
Wed, 24 Mar 2021 17:40:53 +0000 (06:40 +1300)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 04:03:08 +0000 (17:03 +1300)
commitae639183906e6d36646c1d5f15a2d52dcee23e7d
treef5bb1071887794d5e95f2d3c3b6c885b3cf33add
parent4272b5532beaf6d89886f4478b1cb58cdf1197a7
Makefile: Remove old of-platdata files before regenerating

Which files we generate depends on the setting of OF_PLATDATA_INST in the
build. This might change between builds, but the build directory may be
reused.

Leaving old files around is confusing and switching the OF_PLATDATA_INST
setting does not necessarily regenerate the files, e.g. if the devicetree
has not changed.

Remove all the files before regenerating new ones.

Signed-off-by: Simon Glass <sjg@chromium.org>
scripts/Makefile.spl