mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
scripts/mkimage: install dtb files for bcm2835 bootloader too if avaible
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
9a597ba67d
commit
5e3dde6d2f
@ -223,6 +223,17 @@ EOF
|
|||||||
cp $RELEASE_DIR/3rdparty/bootloader/fixup.dat "$OE_TMP"
|
cp $RELEASE_DIR/3rdparty/bootloader/fixup.dat "$OE_TMP"
|
||||||
cp $RELEASE_DIR/3rdparty/bootloader/start.elf "$OE_TMP"
|
cp $RELEASE_DIR/3rdparty/bootloader/start.elf "$OE_TMP"
|
||||||
cp $RELEASE_DIR/3rdparty/bootloader/config.txt "$OE_TMP"
|
cp $RELEASE_DIR/3rdparty/bootloader/config.txt "$OE_TMP"
|
||||||
|
|
||||||
|
for dtb in $RELEASE_DIR/3rdparty/bootloader/*.dtb ; do
|
||||||
|
if [ -f $dtb ] ; then
|
||||||
|
cp "$dtb" "$OE_TMP"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ -d $RELEASE_DIR/3rdparty/bootloader/overlays ]; then
|
||||||
|
cp -r $RELEASE_DIR/3rdparty/bootloader/overlays "$OE_TMP"
|
||||||
|
fi
|
||||||
|
|
||||||
elif [ "$BOOTLOADER" = "u-boot" ]; then
|
elif [ "$BOOTLOADER" = "u-boot" ]; then
|
||||||
# create bootloader configuration
|
# create bootloader configuration
|
||||||
echo "image: creating bootloader configuration..."
|
echo "image: creating bootloader configuration..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user