Re: [PATCH v3 1/6] libfdt: Tidy up pylibfdt build rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 26 Mar 2021 at 17:02, Simon Glass <sjg@xxxxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxxxx>
> ---
>
> Changes in v3:
> - Make the rm silent
> - Use a single build rule to avoid building two pylibfdts in parallel
>
> Changes in v2:
> - Adjust tag so this patch doesn't got to dtc list
>
>  scripts/dtc/pylibfdt/Makefile | 12 +++++++++---
>  1 file changed, 9 insertions(+), 3 deletions(-)

Applied to u-boot-dm/next
(replacing v2)



[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux