mirror of
				https://github.com/libretro/Lakka-LibreELEC.git
				synced 2025-10-31 23:37:55 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			605 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			605 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
 | |
|     if [ -f "${SRCDIR}/idbloader.img" ]; then
 | |
|       cp -a "${SRCDIR}/idbloader.img" "${DSTDIR}"
 | |
|     fi
 | |
|     if [ -f "${SRCDIR}/uboot.img" ]; then
 | |
|       cp -a "${SRCDIR}/uboot.img" "${DSTDIR}"
 | |
|     fi
 | |
|     if [ -f "${SRCDIR}/trust.img" ]; then
 | |
|       cp -a "${SRCDIR}/trust.img" "${DSTDIR}"
 | |
|     fi
 | |
|   fi
 | |
| 
 | |
|   cp -a "${SRCDIR}"/${DEVICE,,}*.dtb "${DSTDIR}"
 |