]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Adjust pylibfdt for incremental build
authorSimon Glass <sjg@chromium.org>
Fri, 10 Jul 2020 00:39:33 +0000 (18:39 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 25 Jul 2020 01:25:15 +0000 (19:25 -0600)
commit73bc9e2e21cbd973ef12876acaab1c0670525ee5
treee808ee71d673c545709cad5f2ca9aefec883a7d7
parentc6162cf87c8896094213023266737667813a86d8
binman: Adjust pylibfdt for incremental build

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 <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
scripts/dtc/pylibfdt/Makefile