mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
Merge pull request #4392 from chewitt/arm-addons
ARM: add skeleton project with ARMv7/ARMv8 devices for add-on building
This commit is contained in:
commit
003c6fe580
4
projects/ARM/README.md
Normal file
4
projects/ARM/README.md
Normal file
@ -0,0 +1,4 @@
|
||||
The ARM project provides device targets used for compiling a common set of binary add-ons for use in ARM SoC projects and devices, and an "everything disabled" distro config to reduce individual or bulk add-on compile time. Current device targets are:
|
||||
|
||||
- ARMv7
|
||||
- ARMv8
|
21
projects/ARM/devices/ARMv7/options
Normal file
21
projects/ARM/devices/ARMv7/options
Normal file
@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
# setup system defaults
|
||||
################################################################################
|
||||
|
||||
# The TARGET_CPU variable controls which processor should be targeted for
|
||||
# generated code.
|
||||
TARGET_CPU="cortex-a8"
|
||||
TARGET_FLOAT="hard"
|
||||
TARGET_FPU="neon-vfpv3"
|
||||
|
||||
# OpenGL-ES implementation to use
|
||||
OPENGLES="mesa"
|
||||
|
||||
# Graphic drivers to use
|
||||
GRAPHIC_DRIVERS="lima"
|
||||
|
||||
# KODI Player implementation to use
|
||||
KODIPLAYER_DRIVER="$OPENGLES"
|
||||
|
||||
# Mali GPU family
|
||||
MALI_FAMILY="450"
|
35
projects/ARM/devices/ARMv8/options
Normal file
35
projects/ARM/devices/ARMv8/options
Normal file
@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
# setup device defaults
|
||||
################################################################################
|
||||
|
||||
# The TARGET_CPU variable controls which processor should be targeted for
|
||||
# generated code.
|
||||
case $TARGET_ARCH in
|
||||
aarch64)
|
||||
TARGET_CPU="cortex-a53"
|
||||
TARGET_CPU_FLAGS="+crc"
|
||||
TARGET_FEATURES="64bit"
|
||||
;;
|
||||
arm)
|
||||
TARGET_KERNEL_ARCH="arm64"
|
||||
TARGET_PATCH_ARCH="aarch64"
|
||||
TARGET_FLOAT="hard"
|
||||
TARGET_CPU="cortex-a53"
|
||||
TARGET_CPU_FLAGS="+crc"
|
||||
TARGET_FPU="neon-fp-armv8"
|
||||
TARGET_FEATURES="32bit"
|
||||
;;
|
||||
esac
|
||||
|
||||
# OpenGL-ES implementation to use
|
||||
OPENGLES="mesa"
|
||||
|
||||
# Graphic drivers to use
|
||||
GRAPHIC_DRIVERS="lima"
|
||||
|
||||
# KODI Player implementation to use
|
||||
KODIPLAYER_DRIVER="$OPENGLES"
|
||||
|
||||
# Mali GPU family
|
||||
MALI_FAMILY="450"
|
||||
|
2
projects/ARM/linux/linux.aarch64.conf
Normal file
2
projects/ARM/linux/linux.aarch64.conf
Normal file
@ -0,0 +1,2 @@
|
||||
# dummy
|
||||
|
2
projects/ARM/linux/linux.arm.conf
Normal file
2
projects/ARM/linux/linux.arm.conf
Normal file
@ -0,0 +1,2 @@
|
||||
# dummy
|
||||
|
160
projects/ARM/options
Normal file
160
projects/ARM/options
Normal file
@ -0,0 +1,160 @@
|
||||
################################################################################
|
||||
# setup system defaults
|
||||
################################################################################
|
||||
|
||||
# Bootloader to use (syslinux / u-boot / bcm2835-bootloader)
|
||||
BOOTLOADER="u-boot"
|
||||
|
||||
# Additional kernel make parameters (for example to specify the u-boot loadaddress)
|
||||
KERNEL_MAKE_EXTRACMD=""
|
||||
|
||||
# Kernel to use. values can be:
|
||||
LINUX="default"
|
||||
|
||||
|
||||
################################################################################
|
||||
# setup build defaults
|
||||
################################################################################
|
||||
|
||||
# Project CFLAGS
|
||||
PROJECT_CFLAGS=""
|
||||
|
||||
# SquashFS compression method (gzip / lzo / xz / zstd)
|
||||
SQUASHFS_COMPRESSION="zstd"
|
||||
|
||||
|
||||
################################################################################
|
||||
# setup project defaults
|
||||
################################################################################
|
||||
|
||||
# install extra subtitle Fonts for KODI (yes / no)
|
||||
KODI_EXTRA_FONTS="no"
|
||||
|
||||
# build and install PulseAudio support (yes / no)
|
||||
PULSEAUDIO_SUPPORT="yes"
|
||||
|
||||
# build and install espeak support (yes / no)
|
||||
ESPEAK_SUPPORT="no"
|
||||
|
||||
# build and install with BluRay support (yes / no)
|
||||
KODI_BLURAY_SUPPORT="no"
|
||||
|
||||
# build and install with BD+ support
|
||||
BLURAY_BDPLUS_SUPPORT="no"
|
||||
|
||||
# build and install with AACS support
|
||||
BLURAY_AACS_SUPPORT="no"
|
||||
|
||||
# build and install with DVDCSS support
|
||||
KODI_DVDCSS_SUPPORT="no"
|
||||
|
||||
# additional drivers to install
|
||||
ADDITIONAL_DRIVERS=""
|
||||
|
||||
# build and install bluetooth support (yes / no)
|
||||
BLUETOOTH_SUPPORT="no"
|
||||
|
||||
# build and install with KODI webfrontend (yes / no)
|
||||
KODI_WEBSERVER_SUPPORT="no"
|
||||
|
||||
# build and install Avahi (Zeroconf) daemon (yes / no)
|
||||
AVAHI_DAEMON="no"
|
||||
|
||||
# build with UPnP support (yes / no)
|
||||
KODI_UPNP_SUPPORT="no"
|
||||
|
||||
# build with MySQL support (mariadb / none)
|
||||
KODI_MYSQL_SUPPORT="no"
|
||||
|
||||
# build xbmc with optical drive support (yes / no)
|
||||
KODI_OPTICAL_SUPPORT="no"
|
||||
|
||||
# build with AirPlay support (stream videos from iDevices to KODI) (yes / no)
|
||||
KODI_AIRPLAY_SUPPORT="no"
|
||||
|
||||
# build with AirTunes support (stream music from iDevices to KODI) (yes / no)
|
||||
KODI_AIRTUNES_SUPPORT="no"
|
||||
|
||||
# build with libnfs support (mounting nfs shares with KODI) (yes / no)
|
||||
KODI_NFS_SUPPORT="no"
|
||||
|
||||
# build with Samba Client support (mounting SAMBA shares with KODI) (yes / no)
|
||||
KODI_SAMBA_SUPPORT="no"
|
||||
|
||||
# build with NFS support (mounting nfs shares via the OS) (yes / no)
|
||||
NFS_SUPPORT="no"
|
||||
|
||||
# build with Samba Client support (mounting samba shares via the OS) (yes / no)
|
||||
SAMBA_SUPPORT="no"
|
||||
|
||||
# build and install Samba Server (yes / no)
|
||||
SAMBA_SERVER="no"
|
||||
|
||||
# build and install SFTP Server (yes / no)
|
||||
SFTP_SERVER="no"
|
||||
|
||||
# build and install OpenVPN support (yes / no)
|
||||
OPENVPN_SUPPORT="no"
|
||||
|
||||
# build and install WireGuard support (yes / no)
|
||||
WIREGUARD_SUPPORT="no"
|
||||
|
||||
# build and install diskmounter support (udevil)
|
||||
UDEVIL="no"
|
||||
|
||||
# build and install exFAT fuse support (yes / no)
|
||||
EXFAT="no"
|
||||
|
||||
# build and install NTFS-3G fuse support (yes / no)
|
||||
NTFS3G="no"
|
||||
|
||||
# build and install hfs filesystem utilities (yes / no)
|
||||
HFSTOOLS="no"
|
||||
|
||||
# Windowmanager to use (fluxbox / none)
|
||||
WINDOWMANAGER="none"
|
||||
|
||||
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia)
|
||||
GRAPHIC_DRIVERS="mesa"
|
||||
|
||||
# build and install remote support (yes / no)
|
||||
REMOTE_SUPPORT="no"
|
||||
|
||||
# build and install Joystick support (yes / no)
|
||||
JOYSTICK_SUPPORT="no"
|
||||
|
||||
# build and install CEC adapter support (yes / no)
|
||||
CEC_SUPPORT="no"
|
||||
|
||||
# build and install CEC framework support (yes / no)
|
||||
CEC_FRAMEWORK_SUPPORT="no"
|
||||
|
||||
# build and install iSCSI support - iscsistart (yes / no)
|
||||
ISCSI_SUPPORT="no"
|
||||
|
||||
# build with swap support (yes / no)
|
||||
SWAP_SUPPORT="no"
|
||||
|
||||
# additional packages to install
|
||||
ADDITIONAL_PACKAGES=""
|
||||
|
||||
# build with installer (yes / no)
|
||||
INSTALLER_SUPPORT="no"
|
||||
|
||||
# build and install nano text editor (yes / no)
|
||||
NANO_EDITOR="no"
|
||||
|
||||
# cron support (yes / no)
|
||||
CRON_SUPPORT="no"
|
||||
|
||||
# build and install ALSA Audio support (yes / no)
|
||||
ALSA_SUPPORT="no"
|
||||
|
||||
# OpenGL(X) implementation to use (no / mesa)
|
||||
OPENGL="no"
|
||||
|
||||
# Displayserver to use (x11 / no)
|
||||
DISPLAYSERVER="no"
|
||||
|
||||
# additional Firmware to use
|
||||
FIRMWARE=""
|
Loading…
x
Reference in New Issue
Block a user