mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
scripts/mkimage: use helper function
This commit is contained in:
parent
964e1c3755
commit
7793bea2e9
@ -249,10 +249,8 @@ EOF
|
|||||||
mcopy -s "$LE_TMP"/extlinux ::
|
mcopy -s "$LE_TMP"/extlinux ::
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f $PROJECT_DIR/$PROJECT/devices/$DEVICE/bootloader/mkimage ]; then
|
if find_file_path bootloader/mkimage; then
|
||||||
. $PROJECT_DIR/$PROJECT/devices/$DEVICE/bootloader/mkimage
|
. ${FOUND_PATH}
|
||||||
elif [ -f $PROJECT_DIR/$PROJECT/bootloader/mkimage ]; then
|
|
||||||
. $PROJECT_DIR/$PROJECT/bootloader/mkimage
|
|
||||||
else
|
else
|
||||||
echo "No specific mkimage script found. u-boot will not be written"
|
echo "No specific mkimage script found. u-boot will not be written"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user