[PATCH v2 09/49] binman: Adjust pylibfdt for incremental build

Bin Meng bmeng.cn at gmail.com
Mon Jun 29 08:21:48 CEST 2020


On Sun, Jun 14, 2020 at 10:57 AM Simon Glass <sjg at 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 <sjg at chromium.org>
> ---
>
> (no changes since v1)
>
>  scripts/dtc/pylibfdt/Makefile | 3 +++
>  1 file changed, 3 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list