commit | e0724a3259b12a9db66c2a7f6fffa62c0cd462fe | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@xilinx.com> | Fri Oct 21 13:16:13 2016 +0200 |
committer | Michal Simek <michal.simek@xilinx.com> | Tue Nov 15 15:27:45 2016 +0100 |
tree | 2b4d4de21c60962685979f1da246be1ab0eb439b | |
parent | 96e706ffc36954f3712f95c0ef95b32b48ecde6f [diff] |
tools: mkimage: Check if file is regular file Current Makefile.spl passes -R parameter which is not empty and pointing to ./ folder. "./tools/mkimage -T zynqmpimage -R ./"" -d spl/u-boot-spl.bin spl/boot.bin" That's why mkimage is trying to parse ./ file and generate register init which is wrong. Check that passed filename is regular file. If not do not work with it. Signed-off-by: Michal Simek <michal.simek@xilinx.com>