Re: [PATCH v2 6/6] Makefile: Remove old of-platdata files before regenerating

2021-03-25 Thread Simon Glass
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 devicetr

[PATCH v2 6/6] Makefile: Remove old of-platdata files before regenerating

2021-03-24 Thread Simon Glass
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 devicetr