]> git.baikalelectronics.ru Git - uboot.git/commit
libfdt: Tidy up pylibfdt build rule
authorSimon Glass <sjg@chromium.org>
Wed, 24 Mar 2021 17:40:48 +0000 (06:40 +1300)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 04:03:04 +0000 (17:03 +1300)
commit3cc17e4c4a6e8bd35b3d5a02fa3fb6f265e04736
tree358d98b2c6a80eefcb46bdf13f61913d24eeb750
parenta08f11e0ad008fc8e1edbd1ee1a16f4d88d4e927
libfdt: Tidy up pylibfdt build rule

At present the build rule for pylibfdt depends on _libfdt.so but modern
Python versions add a different suffix to the output file, resulting in
something like _libfdt.cpython-38-x86_64-linux-gnu.so

The result is that pylibfdt is rebuilt every time.

Rename the file the standard name so that the rule works correctly. Also
add libfdt.py to the dependencies, so that file is always created if
missing.

Signed-off-by: Simon Glass <sjg@chromium.org>
scripts/dtc/pylibfdt/Makefile