Factorise sunxi machines definition

This commit is contained in:
Nicolas Aguirre
2013-11-15 18:56:26 +01:00
parent 16a80ed3ea
commit 9acddf8bb8
6 changed files with 23 additions and 97 deletions

View File

@@ -2,32 +2,17 @@
#@NAME: CubieBoard2
#@DESCRIPTION: Machine configuration for the cubieboard2, based on allwinner ar210 CPU http://cubieboard.org/
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-input-mouse \
xf86-input-keyboard"
# Only has DVI connector for external screen
GUI_MACHINE_CLASS = "bigscreen"
require conf/machine/include/tune-cortexa7.inc
require conf/machine/include/sunxi.inc
PREFERRED_PROVIDER_virtual/kernel = "linux"
PREFERRED_VERSION_linux-libc-headers = "3.4"
KERNEL_IMAGETYPE = "uImage"
UBOOT_MACHINE = "cubieboard2"
UBOOT_ENTRYPOINT = "0x40008000"
UBOOT_LOADADDRESS = "0x40008000"
SPL_BINARY = "sunxi-spl.bin"
IMAGE_CLASSES += "sdcard_image-sunxi"
IMAGE_FSTYPES += "ext3 tar.gz sunxi-sdimg"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS = "\