mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-25 00:16:45 +00:00
a93d8ffadc
All required bootloader files are already copied by the u-boot package (using the corresponding bootloader/install script) to the system's /usr/share/bootloader directory. The dtb files are copied by the linux package to the same spot. Use that single source for the release tarballs instead of various build directories.
14 lines
364 B
Plaintext
14 lines
364 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
SRCDIR="$BUILD/image/system/usr/share/bootloader"
|
|
DSTDIR="$RELEASE_DIR/3rdparty/bootloader"
|
|
|
|
mkdir -p "$DSTDIR"
|
|
if [ -n "$UBOOT_SYSTEM" ]; then
|
|
cp -a "$SRCDIR/u-boot.img" "$DSTDIR"
|
|
cp -a "$SRCDIR/SPL" "$DSTDIR"
|
|
fi
|
|
|
|
cp -a "$SRCDIR"/*.dtb "$DSTDIR"
|