0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-11-02 03:30:17 +00:00
Files
Yasai-san 3e8bcb7a96 RPi4-PiBoyDmg: Fix xpi_gamecon build failure problem #2040. (#2113)
* Revert "linux: add older raspberrypi kernel for PiBoyDmg"

This reverts commit b386902506.

* linux: it resurrects "enable Dualsense" for raspberry pi composite

* xpi_gamecon: fix build error and warning on raspberry pi linux v6.12.15
2025-10-07 00:12:11 +03:00

42 lines
1.1 KiB
Plaintext

################################################################################
# Device defaults
################################################################################
# NOOBS supported hex versions (legacy) is not relevant for RPi4
unset NOOBS_HEX
# NOOBS supported model versions
NOOBS_SUPPORTED_MODELS='"Pi 4"'
# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
FIRMWARE="${FIRMWARE} rpi-eeprom xpi_gamecon"
# set the addon project
ADDON_PROJECT="ARMv8"
# The TARGET_CPU variable controls which processor should be targeted for
# generated code.
case $TARGET_ARCH in
aarch64)
TARGET_CPU="cortex-a72"
TARGET_CPU_FLAGS="+crc"
;;
arm)
TARGET_KERNEL_ARCH="arm64"
TARGET_KERNEL_PATCH_ARCH="aarch64"
TARGET_FLOAT="hard"
# cortex-a72 caused issues in the past, so use a53
TARGET_CPU="cortex-a53"
TARGET_CPU_FLAGS="+crc"
TARGET_FPU="neon-fp-armv8"
;;
esac
# Kernel target
KERNEL_TARGET="Image"
# enable vulkan for Lakka
if [ "${DISTRO}" = "Lakka" ]; then
VULKAN="vulkan-loader"
fi