Skip to content
  • Michal Simek's avatar
    tools: mkimage: Check if file is regular file · 56c7e801
    Michal Simek authored
    
    
    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: default avatarMichal Simek <michal.simek@xilinx.com>
    56c7e801