2015-06-16 00:20:39 +02:00
|
|
|
SOC_FAMILY ??= ""
|
|
|
|
include conf/machine/include/soc-family.inc
|
|
|
|
|
2020-10-22 19:30:01 +02:00
|
|
|
MACHINEOVERRIDES =. "sunxi:"
|
|
|
|
|
2015-06-16 00:20:39 +02:00
|
|
|
# Sub-architecture support
|
|
|
|
MACHINE_SOCARCH_SUFFIX ?= ""
|
|
|
|
MACHINE_SOCARCH_SUFFIX_sun4i = "-sun4i"
|
|
|
|
|
2013-11-15 18:56:26 +01:00
|
|
|
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
|
|
|
XSERVER = "xserver-xorg \
|
|
|
|
xf86-video-fbturbo \
|
|
|
|
xf86-input-evdev \
|
|
|
|
xf86-input-mouse \
|
|
|
|
xf86-input-keyboard"
|
|
|
|
|
2017-12-03 19:57:31 +01:00
|
|
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-mainline"
|
2020-01-16 17:46:45 +01:00
|
|
|
PREFERRED_VERSION_linux-mainline ?= "5.4.%"
|
2015-07-18 16:44:20 +02:00
|
|
|
PREFERRED_PROVIDER_u-boot ?= "u-boot"
|
|
|
|
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
|
2013-11-15 18:56:26 +01:00
|
|
|
|
2015-06-16 00:20:39 +02:00
|
|
|
KERNEL_IMAGETYPE ?= "uImage"
|
2013-11-15 18:56:26 +01:00
|
|
|
|
|
|
|
IMAGE_CLASSES += "sdcard_image-sunxi"
|
2014-01-12 06:47:57 +01:00
|
|
|
IMAGE_FSTYPES += "ext3 tar.gz sunxi-sdimg"
|
2014-02-11 19:32:53 +01:00
|
|
|
|
|
|
|
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
|
2014-10-01 22:42:20 +02:00
|
|
|
|
2015-06-16 00:20:39 +02:00
|
|
|
UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).partition('+')[2][0:7]}"
|
|
|
|
|
|
|
|
UBOOT_ENTRYPOINT ?= "0x40008000"
|
|
|
|
|
2017-12-03 20:24:12 +01:00
|
|
|
SPL_BINARY ?= "u-boot-sunxi-with-spl.bin"
|
|
|
|
|
2015-06-16 00:20:39 +02:00
|
|
|
SERIAL_CONSOLE ?= "115200 ttyS0"
|
|
|
|
MACHINE_FEATURES ?= "alsa apm keyboard rtc serial screen usbgadget usbhost vfat"
|