mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/image: bootloader device support
This commit is contained in:
parent
c94e1b77b5
commit
203000a859
@ -285,7 +285,9 @@ if [ "$1" = "release" -o "$1" = "mkimage" -o "$1" = "amlpkg" -o "$1" = "noobs" ]
|
||||
cp -R $BOOTLOADER_DIR/files/* $RELEASE_DIR
|
||||
fi
|
||||
|
||||
if [ -f $PROJECT_DIR/$PROJECT/bootloader/release ]; then
|
||||
if [ -n "$DEVICE" -a -f $PROJECT_DIR/$PROJECT/devices/$DEVICE/bootloader/release ]; then
|
||||
. $PROJECT_DIR/$PROJECT/devices/$DEVICE/bootloader/release
|
||||
elif [ -f $PROJECT_DIR/$PROJECT/bootloader/release ]; then
|
||||
. $PROJECT_DIR/$PROJECT/bootloader/release
|
||||
elif [ -f "$BOOTLOADER_DIR"/release ]; then
|
||||
. $BOOTLOADER_DIR/release
|
||||
|
Loading…
x
Reference in New Issue
Block a user