# SPDX-License-Identifier: GPL-2.0 # Copyright (C) 2018-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" fi cp -a "$SRCDIR"/*.dtb "$DSTDIR"