Lakka-LibreELEC/projects/Generic/options
Tomáš Kelemen (vudiq) 588ee556e2
Merge branch 'LibreELEC.tv/master' into Lakka-LE-master
update to 10.95.001 - LibreELEC 11 beta 1
2023-01-19 22:25:04 +01:00

92 lines
2.9 KiB
Plaintext

################################################################################
# setup system defaults
################################################################################
# The TARGET_CPU variable controls which processor should be targeted for
# generated code.
case $TARGET_ARCH in
x86_64)
# Valid TARGET_CPU values as defined at:
# https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html
# x86-64 A generic CPU with 64-bit extensions.
#
# x86-64-v2 e.g. AMD CPU - Bulldozer - (bdver1)
# Intel CPU - Nehalem - (nehalem)
#
# x86-64-v3 e.g. AMD CPU - Bulldozer GEN4 - (bdver4)
# Intel CPU - Haswell - (haswell)
TARGET_CPU="x86-64"
;;
i386)
if [ "${DISTRO}" != "Lakka" ]; then
echo "Generic 32 bit not supported on ${DISTRO}!"
exit 1
else
TARGET_CPU="i686"
fi
;;
esac
# Bootloader to use (syslinux / u-boot)
BOOTLOADER="syslinux"
# Kernel target
KERNEL_TARGET="bzImage"
# Additional kernel make parameters (for example to specify the u-boot loadaddress)
KERNEL_MAKE_EXTRACMD=""
# Additional kernel dependencies
KERNEL_EXTRA_DEPENDS_TARGET=""
# Kernel to use. values can be:
# default: default mainline kernel
LINUX="default"
################################################################################
# setup build defaults
################################################################################
# Project CFLAGS
PROJECT_CFLAGS=""
# SquashFS compression method (gzip / lzo / xz / zstd)
SQUASHFS_COMPRESSION="zstd"
################################################################################
# setup project defaults
################################################################################
# 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 iwlwifi-firmware"
if [ "${DISTRO}" = "Lakka" ]; then
FIRMWARE="${FIRMWARE//dvb-firmware/}"
FIRMWARE="${FIRMWARE//iwlwifi-firmware/}"
fi
# additional drivers to install:
# for a list of additional drivers see packages/linux-drivers
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS+=" DRIVER1 DRIVER2"
ADDITIONAL_DRIVERS+=" bcm_sta"
# 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 additional drivers see packages/linux-driver-addons
# Space separated list is supported,
DRIVER_ADDONS="crazycat digital_devices dvb-latest"
# Default size of the ova image, in MB, eg. 4096
OVA_SIZE="4096"