]> git.baikalelectronics.ru Git - uboot.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>
Mon, 20 Jul 2020 17:37:47 +0000 (11:37 -0600)
commit6ecb944bd333c32023bcba21d015c50d73906e38
tree1466dc535d9ea9bbf139af8482b54dfe32feae00
parent274584cdb334e6d8f16c631b09ae8d5d4b8dbcd5
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