[PATCH v2 6/6] Makefile: Remove old of-platdata files before regenerating
Simon Glass
sjg at chromium.org
Fri Mar 26 04:18:18 CET 2021
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 at chromium.org>
---
Changes in v2:
- Only remove the old (and to be unused) files, so avoid confusing make
scripts/Makefile.spl | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list