]> git.dujemihanovic.xyz Git - u-boot.git/commit
mkimage: Use PATH_MAX for path length
authorMingli Yu <mingli.yu@windriver.com>
Mon, 19 Jun 2023 06:22:50 +0000 (14:22 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 23 Jun 2023 18:38:16 +0000 (14:38 -0400)
commit99d430f344bfdb0641022fd3efa26c29c957df02
treead29800eb54122624025a222f0952149f1683b14
parent48cb77012396867ca46986c5f1b0aabd0d74c2fd
mkimage: Use PATH_MAX for path length

Fixed when build xilinx_zynqmp in long directory ( >256):
  |  /buildarea1/testtest/wr_build/wr1023test_secureboot/test1-what/test2-what/test3-what/test4-what/test5-what/test6-what/test7-what/test8-what/test9-what/test10-what/test11-what/test12-what/build/tmp-glibc/work/xilinx_zynqmp-wrs-linux/u-boot-xlnx/1_v2023.01-xilinx-v2023.1+gitAUTOINC+40a08d69e7-r0/build/fitImage-linux: Image file name (uboot-mkimage) too long, can't create tmpfile.
  | Error: Bad parameters for FIT image type

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
tools/mkimage.h