mirror of
				https://github.com/libretro/Lakka-LibreELEC.git
				synced 2025-10-31 14:18:31 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			99 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			99 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ################################################################################
 | |
| # setup system defaults
 | |
| ################################################################################
 | |
| 
 | |
|   # Bootloader to use (syslinux / u-boot / bcm2835-bootloader)
 | |
|     BOOTLOADER="u-boot"
 | |
| 
 | |
|   # U-Boot make target
 | |
|     UBOOT_TARGET="u-boot-dtb.bin"
 | |
| 
 | |
|   # U-Boot firmware package(s) to use
 | |
|     UBOOT_FIRMWARE="rkbin"
 | |
| 
 | |
|   # Additional kernel make parameters (for example to specify the u-boot loadaddress)
 | |
|     KERNEL_MAKE_EXTRACMD="dtbs"
 | |
| 
 | |
|   # Additional kernel dependencies
 | |
|     KERNEL_EXTRA_DEPENDS_TARGET="lz4:host"
 | |
| 
 | |
|   # Kernel to use. values can be:
 | |
|   # default:  default mainline kernel
 | |
|     LINUX="${LINUX:-default}"
 | |
| 
 | |
| ################################################################################
 | |
| # setup build defaults
 | |
| ################################################################################
 | |
| 
 | |
|   # Project CFLAGS
 | |
|     PROJECT_CFLAGS=""
 | |
| 
 | |
|   # SquashFS compression method (gzip / lzo / xz / zstd)
 | |
|     SQUASHFS_COMPRESSION="zstd"
 | |
| 
 | |
| ################################################################################
 | |
| # setup project defaults
 | |
| ################################################################################
 | |
| 
 | |
|   # build and install ALSA Audio support (yes / no)
 | |
|     ALSA_SUPPORT="yes"
 | |
| 
 | |
|   # OpenGL(X) implementation to use (no / mesa)
 | |
|     OPENGL="no"
 | |
| 
 | |
|   # OpenGL-ES implementation to use (no / libmali / mesa)
 | |
|     OPENGLES="${OPENGLES:-mesa}"
 | |
| 
 | |
|   # Displayserver to use (weston / no)
 | |
|     DISPLAYSERVER="no"
 | |
| 
 | |
|   # Windowmanager to use (fluxbox / none)
 | |
|     WINDOWMANAGER="none"
 | |
| 
 | |
|   # Xorg Graphic drivers to use (all / i915,r300,r600,nvidia)
 | |
|   # Space separated list is supported,
 | |
|   # e.g. GRAPHIC_DRIVERS="i915 r300 r600 radeonsi nvidia"
 | |
|     GRAPHIC_DRIVERS=""
 | |
| 
 | |
|   # KODI Player implementation to use (default / bcm2835-driver / libfslvpuwrap)
 | |
|     KODIPLAYER_DRIVER="$OPENGLES"
 | |
| 
 | |
|   # additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
 | |
|   # Space separated list is supported,
 | |
|   # e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware"
 | |
|     FIRMWARE="misc-firmware wlan-firmware dvb-firmware brcmfmac_sdio-firmware"
 | |
| 
 | |
|   # additional packages to install
 | |
|     ADDITIONAL_PACKAGES+=" dtc"
 | |
| 
 | |
|   # build and install CEC framework support (yes / no)
 | |
|     CEC_FRAMEWORK_SUPPORT="yes"
 | |
| 
 | |
|   # build with installer (yes / no)
 | |
|     INSTALLER_SUPPORT="no"
 | |
| 
 | |
|   # Start boot partition at 16MiB, same as https://github.com/rockchip-linux/build images
 | |
|     SYSTEM_PART_START=32768
 | |
| 
 | |
|   # build and install driver addons (yes / no)
 | |
|     DRIVER_ADDONS_SUPPORT="no"
 | |
| 
 | |
|     if [ "${DISTRO}" = "Lakka" ]; then
 | |
|       DRIVER_ADDONS_SUPPORT="no"
 | |
|     fi
 | |
| 
 | |
|   # driver addons to install:
 | |
|   # for a list of additinoal drivers see packages/linux-driver-addons
 | |
|   # Space separated list is supported,
 | |
|     DRIVER_ADDONS="dvb-latest"
 | |
| 
 | |
|   # debug tty path
 | |
|     DEBUG_TTY="/dev/ttyS2"
 | |
| 
 | |
|   # Overrides for Lakka
 | |
|     if [ "${DISTRO}" = "Lakka" ]; then
 | |
|       LINUX="rockchip"
 | |
|       FIRMWARE="${FIRMWARE//dvb-firmware/}"
 | |
|     fi
 | |
| 
 |