mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-15 09:49:46 +00:00
600e246a94
Lakka 5.x Switch changes (#1853) Lakka v5.x switchroot 5.1.2 (#1871) Fix Switch Issue's in upstream 5.x (#1888) Minor Switch Changes (#1893) Lakka v5.x switch 3 (#1895) Lakka v5.x switch 4 (#1898) L4T: Xorg-server: Fix build issue (#1924) Switch: remove ra patch Lakka v5.x switch 6 (#1926) Cleanups, More LibreELEC Stuff, more permission fixes, Misc switch stuff. (#1930) Switch: U-Boot: bump version to 2024-NX02 (#1946) L4T/Ayn post-upstreaming fixes - retroarch_joypad_autoconfig: remove spaces from file names - retroarch: remove Switch specific patch merged upstream - libXv: move to L4T packages folder (package removed in upstream) - bring some packages from v5.x to L4T packages - ffmpeg: remove vulkan - remove stella core from Switch build (missing C++ headers) - Ayn/Odin: use proper kernel arg to not hide kernel messages in console - connman: add wpa_supplicant support back
91 lines
3.3 KiB
Plaintext
91 lines
3.3 KiB
Plaintext
|
|
# The TARGET_CPU variable controls which processor should be targeted for
|
|
# generated code.
|
|
case ${TARGET_ARCH} in
|
|
aarch64)
|
|
TARGET_CPU="cortex-a57"
|
|
TARGET_CPU_FLAGS="+crypto+crc+fp+simd"
|
|
TARGET_FEATURES="64bit neon"
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|
|
|
|
# CEC Support
|
|
CEC_FRAMEWORK_SUPPORT="yes"
|
|
|
|
if [ "${DISTRO}" = "Lakka" ]; then
|
|
DISTRO_PATH="lakka"
|
|
DISTRO_ICON="icon_lakka_hue.bmp"
|
|
HEKATE_SPLASH="splash_lakka.bmp"
|
|
ID="SWR-LAK"
|
|
ADDITIONAL_PACKAGES+=" wii-u-gc-adapter"
|
|
# LAKKA_CANARY_PATH="http://nightly.builds.lakka.tv/members/gavin/lakka-v5.x-new"
|
|
elif [ "${DISTRO}" = "LibreELEC" ]; then
|
|
DISTRO_PATH="libreelec"
|
|
DISTRO_ICON="icon_libreelec_hue.bmp"
|
|
HEKATE_SPLASH="splash_libreelec.bmp"
|
|
ID="SWR-LIB"
|
|
else
|
|
echo "Unknown distro, expect issues"
|
|
fi
|
|
|
|
ADDITIONAL_PACKAGES+=" switch-bsp"
|
|
|
|
#Remove since we include driver in kernel now. Module Config/udev rules
|
|
#Included in switch-bsp package, to match version in kernel(0.9.5).
|
|
ADDITIONAL_PACKAGES="${ADDITIONAL_PACKAGES//xpadneo/}"
|
|
|
|
if [ ${PULSEAUDIO_SUPPORT} = "yes" ]; then
|
|
ADDITIONAL_PACKAGES+=" pulseaudio-configs"
|
|
fi
|
|
|
|
BOOTLOADER="switch-bootloader" # this is a fake bootloader since coreboot and u-boot are sideloaded
|
|
|
|
ADDITIONAL_DRIVERS+=" xf86-input-libinput"
|
|
#Add proper version for kernel based upon switchroot version Only used for switch
|
|
SWITCHROOT_VERSION=5.1.2
|
|
GENERIC_L4T_VERSION=32.3.1
|
|
L4T_DEVICE_TYPE="t210"
|
|
#L4T_COMBINED_KERNEL_SHA256="c3a8df6836cb4581162da6f4d380c2a730f69b3bac8bbaf4c2ec6c73ab5461cd"
|
|
|
|
L4T_DEVICE_CUSTOM_BOARD_NAME="nx"
|
|
|
|
# serial number of the kernel
|
|
# bump this in case any of the below change to build new kernel archive
|
|
# set it to year-month-date of the update
|
|
L4T_KERNEL_VERSION="2023-06-10"
|
|
|
|
L4T_KERNEL_4_9_REPO="https://github.com/CTCaer/switch-l4t-kernel-4.9.git"
|
|
L4T_KERNEL_4_9_REPO_BRANCH="linux-5.1.2"
|
|
L4T_KERNEL_4_9_REPO_SHA256="2d0059fd3167a8df756de2aa0489d4aa70a9fc15"
|
|
|
|
L4T_KERNEL_NVIDIA_REPO="https://github.com/CTCaer/switch-l4t-kernel-nvidia.git"
|
|
L4T_KERNEL_NVIDIA_REPO_BRANCH="linux-5.1.2"
|
|
L4T_KERNEL_NVIDIA_REPO_SHA256="a4cc21186653434c0362323b12354e6e713ad5af"
|
|
|
|
L4T_KERNEL_NVGPU_REPO="https://gitlab.com/switchroot/kernel/l4t-kernel-nvgpu.git"
|
|
L4T_KERNEL_NVGPU_REPO_BRANCH="linux-3.4.0-r32.5"
|
|
L4T_KERNEL_NVGPU_REPO_SHA256="1ae0167d360287ca78f5a2572f0de42594140312"
|
|
|
|
L4T_DEVICE_TEGRA_REPO="https://gitlab.com/switchroot/kernel/l4t-soc-tegra.git"
|
|
L4T_DEVICE_TEGRA_REPO_BRANCH="l4t/l4t-r32.3.1"
|
|
#L4T_DEVICE_TEGRA_REPO_SHA256="d2692b96d3a89e26d3bad94eb7e6bc4caccbdbdb"
|
|
|
|
L4T_DEVICE_COMMON_TEGRA_REPO="https://gitlab.com/switchroot/kernel/l4t-platform-tegra-common.git"
|
|
L4T_DEVICE_COMMON_TEGRA_REPO_BRANCH="l4t/l4t-r32.3.1"
|
|
#L4T_DEVICE_COMMON_TEGRA_REPO_SHA256="1677f40a0b1bfa7c7273143b0f4944de28b73444"
|
|
|
|
L4T_DEVICE_COMMON_T210_REPO="https://gitlab.com/switchroot/kernel/l4t-platform-t210-common.git"
|
|
L4T_DEVICE_COMMON_T210_REPO_BRANCH="l4t/l4t-r32.3.1"
|
|
#L4T_DEVICE_COMMON_T210_REPO_SHA256="846ce66ee941b49ff32bc721e4c8cc99eea2e979"
|
|
|
|
L4T_DEVICE_T210_REPO="https://gitlab.com/switchroot/kernel/l4t-soc-t210.git"
|
|
L4T_DEVICE_T210_REPO_BRANCH="l4t/l4t-r32.3.1"
|
|
#L4T_DEVICE_T210_REPO_SHA256="0d7816046cb06b637a3b70381a5e4994fd897c35"
|
|
|
|
#Apply Custom Device DTS tree.
|
|
L4T_DEVICE_CUSTOM_REPO="https://github.com/CTCaer/switch-l4t-platform-t210-nx.git"
|
|
L4T_DEVICE_CUSTOM_REPO_BRANCH="linux-dev"
|
|
L4T_DEVICE_CUSTOM_REPO_SHA256="cf785c4c176499b301170d79fe57b77f365b73cd"
|