]> git.dujemihanovic.xyz Git - u-boot.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)
commit354d2324635cb77b7bf9a9ad80c4d48b7761c4f7
treef5bb1071887794d5e95f2d3c3b6c885b3cf33add
parent56b313d1b637815dd01463698cc722a27ae361e4
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