mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge pull request #2478 from MilhouseVH/le90_rm_if_then_boiler_plate_fix
Revert "scripts/mkimage: use helper function"
This commit is contained in:
commit
0ea19c3fe5
@ -249,8 +249,10 @@ EOF
|
|||||||
mcopy -s "$LE_TMP"/extlinux ::
|
mcopy -s "$LE_TMP"/extlinux ::
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if find_file_path bootloader/mkimage; then
|
if [ -f $PROJECT_DIR/$PROJECT/devices/$DEVICE/bootloader/mkimage ]; then
|
||||||
. ${FOUND_PATH}
|
. $PROJECT_DIR/$PROJECT/devices/$DEVICE/bootloader/mkimage
|
||||||
|
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