On Sun, Jun 14, 2020 at 10:57 AM Simon Glass <s...@chromium.org> wrote: > > If the pylibfdt shared-object file is detected, then Python assumes that > the libfdt.py file exists also. > > Sometimes when an incremental build aborts, the shared-object file is > built but the libfdt.py is not. The only way out at this point is to use > 'make mkproper', or similar. > > Fix this by removing the .so file before it is built. This seems to make > Python rebuild everything. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > (no changes since v1) > > scripts/dtc/pylibfdt/Makefile | 3 +++ > 1 file changed, 3 insertions(+) >
Reviewed-by: Bin Meng <bmeng...@gmail.com>