forked from libretro/Lakka-LibreELEC
ce2a34999b
port of a84b21261f
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
################################################################################
|
|
# setup device defaults
|
|
################################################################################
|
|
|
|
# The TARGET_CPU variable controls which processor should be targeted for
|
|
# generated code.
|
|
case $TARGET_ARCH in
|
|
arm)
|
|
TARGET_FLOAT="hard"
|
|
TARGET_CPU="cortex-a17"
|
|
TARGET_FPU="neon-vfpv4"
|
|
;;
|
|
esac
|
|
|
|
# Kernel target
|
|
KERNEL_TARGET="zImage"
|
|
|
|
# Additional kernel make parameters (for example to specify the u-boot loadaddress)
|
|
KERNEL_MAKE_EXTRACMD=""
|
|
KERNEL_MAKE_EXTRACMD+=" rk3288-miqi.dtb"
|
|
KERNEL_MAKE_EXTRACMD+=" rk3288-tinker.dtb"
|
|
KERNEL_MAKE_EXTRACMD+=" rk3288-tinker-s.dtb"
|
|
|
|
# Mali GPU family
|
|
MALI_FAMILY="t760"
|
|
GRAPHIC_DRIVERS="panfrost"
|
|
|
|
# kernel serial console
|
|
EXTRA_CMDLINE="console=uart8250,mmio32,0xff690000 console=tty0 coherent_pool=2M cec.debounce_ms=5000"
|
|
|
|
# Lakka: hardcode output resolution to 1080p
|
|
if [ "${DISTRO}" = "Lakka" ]; then
|
|
EXTRA_CMDLINE+=" video=HDMI-A-1:1920x1080@60"
|
|
fi
|
|
|
|
# set the addon project
|
|
ADDON_PROJECT="ARMv7"
|