Revert "scripts/mkimage: use helper function"

This reverts commit 7793bea2e9d47d979bf830c15c657c456aead2bb.
This commit is contained in:
MilhouseVH 2018-02-04 17:55:59 +00:00
parent ad31aa2f48
commit 8f2b872ab6

View File

@ -249,8 +249,10 @@ EOF
mcopy -s "$LE_TMP"/extlinux ::
fi
if find_file_path bootloader/mkimage; then
. ${FOUND_PATH}
if [ -f $PROJECT_DIR/$PROJECT/devices/$DEVICE/bootloader/mkimage ]; then
. $PROJECT_DIR/$PROJECT/devices/$DEVICE/bootloader/mkimage
elif [ -f $PROJECT_DIR/$PROJECT/bootloader/mkimage ]; then
. $PROJECT_DIR/$PROJECT/bootloader/mkimage
else
echo "No specific mkimage script found. u-boot will not be written"
fi