mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
38 lines
1.0 KiB
Plaintext
38 lines
1.0 KiB
Plaintext
################################################################################
|
|
# setup device defaults
|
|
################################################################################
|
|
|
|
# The TARGET_CPU variable controls which processor should be targeted for
|
|
# generated code.
|
|
case $TARGET_ARCH in
|
|
aarch64)
|
|
TARGET_CPU="cortex-a72.cortex-a53"
|
|
TARGET_CPU_FLAGS="+crc+crypto"
|
|
;;
|
|
arm)
|
|
TARGET_KERNEL_ARCH="arm64"
|
|
TARGET_FLOAT="hard"
|
|
TARGET_CPU="cortex-a72.cortex-a53"
|
|
TARGET_CPU_FLAGS="+crc"
|
|
TARGET_FPU="crypto-neon-fp-armv8"
|
|
;;
|
|
esac
|
|
|
|
# Kernel to use
|
|
LINUX="rockchip"
|
|
|
|
# Kernel target
|
|
KERNEL_TARGET="Image"
|
|
|
|
# Graphic drivers to use
|
|
GRAPHIC_DRIVERS="panfrost"
|
|
|
|
# kernel serial console
|
|
EXTRA_CMDLINE="earlycon console=uart8250,mmio32,0xfeb50000 console=tty0 coherent_pool=2M cec.debounce_ms=5000 mem=3838M systemd.debug_shell=ttyS2"
|
|
|
|
# set the addon project
|
|
ADDON_PROJECT="ARMv8"
|
|
|
|
# additional packages
|
|
ADDITIONAL_PACKAGES+=" pciutils"
|