Use SOC_FAMILY to avoid the long list of COMPATIBLE_MACHINE

It uses 3 different SOC_FAMILY sun4i,sun5i,sun7i this list come from here http://sunxi.org/Allwinner_SoC_Family
Adding a new machine should be now more easy, as we have now to only create a new machine.conf file, set the right SOC_FAMILY and include the right arch inclue.
This commit is contained in:
Nicolas Aguirre 2015-06-16 00:20:39 +02:00
parent cb66c3eafb
commit 4240612f21
26 changed files with 75 additions and 251 deletions

View File

@ -2,19 +2,7 @@
#@NAME: Bananapi #@NAME: Bananapi
#@DESCRIPTION: Machine configuration for the bananapi, based on allwinner A20 CPU http://bananapi.org/ #@DESCRIPTION: Machine configuration for the bananapi, based on allwinner A20 CPU http://bananapi.org/
# Only has DVI connector for external screen require conf/machine/include/sun7i.inc
GUI_MACHINE_CLASS = "bigscreen"
require conf/machine/include/tune-cortexa7.inc
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
UBOOT_MACHINE = "Bananapi_config" UBOOT_MACHINE = "Bananapi_config"
UBOOT_ENTRYPOINT = "0x40008000" SUNXI_FEX_FILE = "sys_config/a20/Bananapi.fex"
UBOOT_LOADADDRESS = "0x40008000"
KERNEL_DEVICETREE = "sun7i-a20-bananapi.dtb"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "screen apm usbgadget usbhost vfat"

View File

@ -2,19 +2,7 @@
#@NAME: CubieBoard #@NAME: CubieBoard
#@DESCRIPTION: Machine configuration for the cubieboard, based on allwinner a10 CPU http://cubieboard.org/ #@DESCRIPTION: Machine configuration for the cubieboard, based on allwinner a10 CPU http://cubieboard.org/
# Only has DVI connector for external screen require conf/machine/include/sun4i.inc
GUI_MACHINE_CLASS = "bigscreen"
require conf/machine/include/tune-cortexa8.inc
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
UBOOT_MACHINE = "Cubieboard_config" UBOOT_MACHINE = "Cubieboard_config"
UBOOT_ENTRYPOINT = "0x40008000" SUNXI_FEX_FILE = "sys_config/a10/cubieboard.fex"
UBOOT_LOADADDRESS = "0x40008000"
KERNEL_DEVICETREE = "sun4i-a10-cubieboard.dtb"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"

View File

@ -2,19 +2,7 @@
#@NAME: CubieBoard2 #@NAME: CubieBoard2
#@DESCRIPTION: Machine configuration for the cubieboard2, based on allwinner A20 CPU http://cubieboard.org/ #@DESCRIPTION: Machine configuration for the cubieboard2, based on allwinner A20 CPU http://cubieboard.org/
# Only has DVI connector for external screen require conf/machine/include/sun7i.inc
GUI_MACHINE_CLASS = "bigscreen"
require conf/machine/include/tune-cortexa7.inc UBOOT_MACHINE = "Cubieboard_config"
require conf/machine/include/sunxi.inc SUNXI_FEX_FILE = "sys_config/a20/cubieboard2.fex"
require conf/machine/include/sunxi-mali.inc
UBOOT_MACHINE = "Cubieboard2_config"
UBOOT_ENTRYPOINT = "0x40008000"
UBOOT_LOADADDRESS = "0x40008000"
KERNEL_DEVICETREE = "sun7i-a20-cubieboard2.dtb"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "screen apm usbgadget usbhost vfat"

View File

@ -2,19 +2,7 @@
#@NAME: Cubietruck #@NAME: Cubietruck
#@DESCRIPTION: Machine configuration for the Cubietruck, based on allwinner A20 CPU http://cubieboard.org/ #@DESCRIPTION: Machine configuration for the Cubietruck, based on allwinner A20 CPU http://cubieboard.org/
# Only has DVI connector for external screen require conf/machine/include/sun7i.inc
GUI_MACHINE_CLASS = "bigscreen"
require conf/machine/include/tune-cortexa7.inc
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
UBOOT_MACHINE = "Cubietruck_config" UBOOT_MACHINE = "Cubietruck_config"
UBOOT_ENTRYPOINT = "0x40008000" SUNXI_FEX_FILE = "sys_config/a20/cubietruck.fex"
UBOOT_LOADADDRESS = "0x40008000"
KERNEL_DEVICETREE = "sun7i-a20-cubietruck.dtb"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "screen apm usbgadget usbhost vfat"

View File

@ -3,14 +3,7 @@
#@DESCRIPTION: Machine configuration for the Forfun Q88DB Tablet with A13 CPU #@DESCRIPTION: Machine configuration for the Forfun Q88DB Tablet with A13 CPU
#http://linux-sunxi.org/Forfun_Q88DB #http://linux-sunxi.org/Forfun_Q88DB
require conf/machine/include/tune-cortexa8.inc require conf/machine/include/sun5i.inc
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
UBOOT_MACHINE = "forfun_q88db_defconfig" UBOOT_MACHINE = "forfun_q88db_defconfig"
UBOOT_ENTRYPOINT = "0x40008000" SUNXI_FEX_FILE = "sys_config/a13/forfun_q88db.fex"
UBOOT_LOADADDRESS = "0x40008000"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"

View File

@ -0,0 +1,5 @@
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
require conf/machine/include/tune-cortexa8.inc
SOC_FAMILY = "sun4i"

View File

@ -0,0 +1,5 @@
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
require conf/machine/include/tune-cortexa8.inc
SOC_FAMILY = "sun5i"

View File

@ -0,0 +1,5 @@
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
require conf/machine/include/tune-cortexa7.inc
SOC_FAMILY = "sun7i"

View File

@ -1,3 +1,10 @@
SOC_FAMILY ??= ""
include conf/machine/include/soc-family.inc
# Sub-architecture support
MACHINE_SOCARCH_SUFFIX ?= ""
MACHINE_SOCARCH_SUFFIX_sun4i = "-sun4i"
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
XSERVER = "xserver-xorg \ XSERVER = "xserver-xorg \
xf86-video-fbturbo \ xf86-video-fbturbo \
@ -11,7 +18,7 @@ PREFERRED_VERSION_linux-libc-headers = "3.4.61"
PREFERRED_PROVIDER_u-boot = "u-boot" PREFERRED_PROVIDER_u-boot = "u-boot"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot" PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
KERNEL_IMAGETYPE = "uImage" KERNEL_IMAGETYPE ?= "uImage"
IMAGE_CLASSES += "sdcard_image-sunxi" IMAGE_CLASSES += "sdcard_image-sunxi"
IMAGE_FSTYPES += "ext3 tar.gz sunxi-sdimg" IMAGE_FSTYPES += "ext3 tar.gz sunxi-sdimg"
@ -19,3 +26,9 @@ IMAGE_FSTYPES += "ext3 tar.gz sunxi-sdimg"
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).partition('+')[2][0:7]}" UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).partition('+')[2][0:7]}"
UBOOT_ENTRYPOINT ?= "0x40008000"
UBOOT_LOADADDRESS ?= "0x400080OB00"
SERIAL_CONSOLE ?= "115200 ttyS0"
MACHINE_FEATURES ?= "alsa apm keyboard rtc serial screen usbgadget usbhost vfat"

View File

@ -2,19 +2,7 @@
#@NAME: Mele a1000/a2000 #@NAME: Mele a1000/a2000
#@DESCRIPTION: Machine configuration for the Mele a1000 and a2000, base on allwinner a10 CPU #@DESCRIPTION: Machine configuration for the Mele a1000 and a2000, base on allwinner a10 CPU
# Only has DVI connector for external screen require conf/machine/include/sun4i.inc
GUI_MACHINE_CLASS = "bigscreen"
require conf/machine/include/tune-cortexa8.inc
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
UBOOT_MACHINE = "Mele_A1000_config" UBOOT_MACHINE = "Mele_A1000_config"
UBOOT_ENTRYPOINT = "0x40008000" SUNXI_FEX_FILE = "sys_config/a10/mele_a1000.fex"
UBOOT_LOADADDRESS = "0x40008000"
KERNEL_DEVICETREE = "sun4i-a10-a1000.dtb"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"

View File

@ -2,17 +2,7 @@
#@NAME: Mele a1000g/a2000g #@NAME: Mele a1000g/a2000g
#@DESCRIPTION: Machine configuration for the Mele a1000g and a2000g, base on allwinner a10 CPU #@DESCRIPTION: Machine configuration for the Mele a1000g and a2000g, base on allwinner a10 CPU
# Only has DVI connector for external screen require conf/machine/include/sun4i.inc
GUI_MACHINE_CLASS = "bigscreen"
require conf/machine/include/tune-cortexa8.inc
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
UBOOT_MACHINE = "Mele_A1000G_config" UBOOT_MACHINE = "Mele_A1000G_config"
UBOOT_ENTRYPOINT = "0x40008000" SUNXI_FEX_FILE = "sys_config/a10/mele_a1000g.fex"
UBOOT_LOADADDRESS = "0x40008000"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"

View File

@ -3,18 +3,7 @@
#@DESCRIPTION: Machine configuration for Olimex A10-OLinuXino-LIME Board, based on Allwinner A10 CPU #@DESCRIPTION: Machine configuration for Olimex A10-OLinuXino-LIME Board, based on Allwinner A10 CPU
#https://github.com/OLIMEX/OLINUXINO #https://github.com/OLIMEX/OLINUXINO
# There are also LCD possibilities require conf/machine/include/sun4i.inc
GUI_MACHINE_CLASS = "bigscreen"
require conf/machine/include/tune-cortexa8.inc
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
UBOOT_MACHINE = "A10-OLinuXino-Lime_config" UBOOT_MACHINE = "A10-OLinuXino-Lime_config"
UBOOT_ENTRYPOINT = "0x40008000" SUNXI_FEX_FILE = "sys_config/a10/a10-olinuxino-lime.fex"
UBOOT_LOADADDRESS = "0x40008000"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"

View File

@ -3,16 +3,7 @@
#@DESCRIPTION: Machine configuration for the Olimex A10-OLinuXino Lime Board, based on Allwinner A10 CPU #@DESCRIPTION: Machine configuration for the Olimex A10-OLinuXino Lime Board, based on Allwinner A10 CPU
#https://github.com/OLIMEX/OLINUXINO #https://github.com/OLIMEX/OLINUXINO
require conf/machine/include/tune-cortexa8.inc require conf/machine/include/sun4i.inc
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
UBOOT_MACHINE = "A10-OLinuXino-Lime_config" UBOOT_MACHINE = "A10-OLinuXino-Lime_config"
UBOOT_ENTRYPOINT = "0x40008000" SUNXI_FEX_FILE = "sys_config/a10/a10-olinuxino-lime.fex"
UBOOT_LOADADDRESS = "0x40008000"
KERNEL_DEVICETREE = "sun4i-a10-olinuxino-lime.dtb"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"

View File

@ -3,19 +3,7 @@
#@DESCRIPTION: Machine configuration for Olimex A10S-OLinuXino-MICRO Board, based on Allwinner A10s CPU #@DESCRIPTION: Machine configuration for Olimex A10S-OLinuXino-MICRO Board, based on Allwinner A10s CPU
#https://github.com/OLIMEX/OLINUXINO #https://github.com/OLIMEX/OLINUXINO
# There are also LCD possibilities require conf/machine/include/sun5i.inc
GUI_MACHINE_CLASS = "bigscreen"
require conf/machine/include/tune-cortexa8.inc
require conf/machine/include/sunxi.inc
UBOOT_MACHINE = "A10s-OLinuXino-Micro_config" UBOOT_MACHINE = "A10s-OLinuXino-Micro_config"
UBOOT_ENTRYPOINT = "0x40008000" SUNXI_FEX_FILE = "sys_config/a10s/a10s-olinuxino-m.fex"
UBOOT_LOADADDRESS = "0x40008000"
KERNEL_DEVICETREE = "sun5i-a10s-olinuxino-micro.dtb"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"

View File

@ -3,19 +3,7 @@
#@DESCRIPTION: Machine configuration for the Olime A13-OLinuXino Board, base on allwinner a13 CPU #@DESCRIPTION: Machine configuration for the Olime A13-OLinuXino Board, base on allwinner a13 CPU
#https://github.com/OLIMEX/OLINUXINO #https://github.com/OLIMEX/OLINUXINO
# Only has DVI connector for external screen require conf/machine/include/sun5i.inc
GUI_MACHINE_CLASS = "bigscreen"
require conf/machine/include/tune-cortexa8.inc
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
UBOOT_MACHINE = "A13-OLinuXino_config" UBOOT_MACHINE = "A13-OLinuXino_config"
UBOOT_ENTRYPOINT = "0x40008000" SUNXI_FEX_FILE = "sys_config/a13/a13-olinuxino.fex"
UBOOT_LOADADDRESS = "0x40008000"
KERNEL_DEVICETREE = "sun5i-a13-olinuxino.dtb"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"

View File

@ -3,14 +3,7 @@
#@DESCRIPTION: Machine configuration for the Olimex A13-SOM Evaluation Board, based on Allwinner A13 CPU #@DESCRIPTION: Machine configuration for the Olimex A13-SOM Evaluation Board, based on Allwinner A13 CPU
#https://github.com/OLIMEX/SOM #https://github.com/OLIMEX/SOM
require conf/machine/include/tune-cortexa8.inc require conf/machine/include/sun5i.inc
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
UBOOT_MACHINE = "OLIMEX-A13-SOM_config" UBOOT_MACHINE = "OLIMEX-A13-SOM_config"
UBOOT_ENTRYPOINT = "0x40008000" SUNXI_FEX_FILE = "sys_config/a13/olimex_a13_som.fex"
UBOOT_LOADADDRESS = "0x40008000"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"

View File

@ -3,16 +3,7 @@
#@DESCRIPTION: Machine configuration for the Olimex A20-OLinuXino Board, based on Allwinner A20 CPU #@DESCRIPTION: Machine configuration for the Olimex A20-OLinuXino Board, based on Allwinner A20 CPU
#https://github.com/OLIMEX/OLINUXINO #https://github.com/OLIMEX/OLINUXINO
require conf/machine/include/tune-cortexa7.inc require conf/machine/include/sun7i.inc
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
UBOOT_MACHINE = "A20-OLinuXino-Micro_config" UBOOT_MACHINE = "A20-OLinuXino-Micro_config"
UBOOT_ENTRYPOINT = "0x40008000" SUNXI_FEX_FILE = "sys_config/a20/a20-olinuxino_micro.fex"
UBOOT_LOADADDRESS = "0x40008000"
KERNEL_DEVICETREE = "sun7i-a20-olinuxino-micro.dtb"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"

View File

@ -3,16 +3,7 @@
#@DESCRIPTION: Machine configuration for the Olimex A20-OLinuXino Lime Board, based on Allwinner A20 CPU #@DESCRIPTION: Machine configuration for the Olimex A20-OLinuXino Lime Board, based on Allwinner A20 CPU
#https://github.com/OLIMEX/OLINUXINO #https://github.com/OLIMEX/OLINUXINO
require conf/machine/include/tune-cortexa7.inc require conf/machine/include/sun7i.inc
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
UBOOT_MACHINE = "A20-OLinuXino-Lime_config" UBOOT_MACHINE = "A20-OLinuXino-Lime_config"
UBOOT_ENTRYPOINT = "0x40008000" SUNXI_FEX_FILE = "sys_config/a20/a20-olinuxino_lime.fex"
UBOOT_LOADADDRESS = "0x40008000"
KERNEL_DEVICETREE = "sun7i-a20-olinuxino-lime.dtb"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"

View File

@ -3,16 +3,7 @@
#@DESCRIPTION: Machine configuration for the Olimex A20-OLinuXino Lime2 Board, based on Allwinner A20 CPU #@DESCRIPTION: Machine configuration for the Olimex A20-OLinuXino Lime2 Board, based on Allwinner A20 CPU
#https://github.com/OLIMEX/OLINUXINO #https://github.com/OLIMEX/OLINUXINO
require conf/machine/include/tune-cortexa7.inc require conf/machine/include/sun7i.inc
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
UBOOT_MACHINE = "A20-OLinuXino_Lime2_config" UBOOT_MACHINE = "A20-OLinuXino_Lime2_config"
UBOOT_ENTRYPOINT = "0x40008000" SUNXI_FEX_FILE = "sys_config/a20/a20-olinuxino_lime2.fex"
UBOOT_LOADADDRESS = "0x40008000"
KERNEL_DEVICETREE = "sun7i-a20-olinuxino-lime2.dtb"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"

View File

@ -3,14 +3,7 @@
#@DESCRIPTION: Machine configuration for the Olimex A20-SOM Evaluation Board, based on Allwinner A20 CPU #@DESCRIPTION: Machine configuration for the Olimex A20-SOM Evaluation Board, based on Allwinner A20 CPU
#https://github.com/OLIMEX/SOM #https://github.com/OLIMEX/SOM
require conf/machine/include/tune-cortexa7.inc require conf/machine/include/sun7i.inc
require conf/machine/include/sunxi.inc
require conf/machine/include/sunxi-mali.inc
UBOOT_MACHINE = "Olimex_A20-SOM_config" UBOOT_MACHINE = "Olimex_A20-SOM_config"
UBOOT_ENTRYPOINT = "0x40008000" SUNXI_FEX_FILE = "sys_config/a20/olimex_a20_som.fex"
UBOOT_LOADADDRESS = "0x40008000"
SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"

View File

@ -7,29 +7,13 @@ DEPENDS = "sunxi-tools-native"
PV = "1.1+git${SRCPV}" PV = "1.1+git${SRCPV}"
PR = "r0" PR = "r0"
COMPATIBLE_MACHINE = "(bananapi|cubieboard|cubieboard2|cubietruck|forfun-q88db|mele|meleg|olinuxino-a10|olinuxino-a10lime|olinuxino-a10s|olinuxino-a13|olinuxino-a13som|olinuxino-a20|olinuxino-a20lime|olinuxino-a20lime2|olinuxino-a20som)" COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i)"
SRC_URI = "git://github.com/linux-sunxi/sunxi-boards.git;protocol=git" SRC_URI = "git://github.com/linux-sunxi/sunxi-boards.git;protocol=git"
# Increase PV with SRCREV change # Increase PV with SRCREV change
SRCREV = "bf02cb81d1fe5996758322dc74e66808c1c7ad38" SRCREV = "bf02cb81d1fe5996758322dc74e66808c1c7ad38"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
SUNXI_FEX_FILE_bananapi = "sys_config/a20/Bananapi.fex"
SUNXI_FEX_FILE_cubieboard = "sys_config/a10/cubieboard.fex"
SUNXI_FEX_FILE_cubieboard2 = "sys_config/a20/cubieboard2.fex"
SUNXI_FEX_FILE_cubietruck = "sys_config/a20/cubietruck.fex"
SUNXI_FEX_FILE_forfun-q88db = "sys_config/a13/forfun_q88db.fex"
SUNXI_FEX_FILE_mele = "sys_config/a10/mele_a1000.fex"
SUNXI_FEX_FILE_meleg = "sys_config/a10/mele_a1000g.fex"
SUNXI_FEX_FILE_olinuxino-a10 = "sys_config/a10/a10-olinuxino-lime.fex"
SUNXI_FEX_FILE_olinuxino-a10s = "sys_config/a10s/a10s-olinuxino-m.fex"
SUNXI_FEX_FILE_olinuxino-a10lime = "sys_config/a10/a10-olinuxino-lime.fex"
SUNXI_FEX_FILE_olinuxino-a13 = "sys_config/a13/a13-olinuxino.fex"
SUNXI_FEX_FILE_olinuxino-a13som = "sys_config/a13/olimex_a13_som.fex"
SUNXI_FEX_FILE_olinuxino-a20 = "sys_config/a20/a20-olinuxino_micro.fex"
SUNXI_FEX_FILE_olinuxino-a20lime = "sys_config/a20/a20-olinuxino_lime.fex"
SUNXI_FEX_FILE_olinuxino-a20lime2 = "sys_config/a20/a20-olinuxino_lime2.fex"
SUNXI_FEX_FILE_olinuxino-a20som = "sys_config/a20/olimex_a20_som.fex"
SUNXI_FEX_BIN_IMAGE = "fex-${MACHINE}-${PV}-${PR}.bin" SUNXI_FEX_BIN_IMAGE = "fex-${MACHINE}-${PV}-${PR}.bin"
SUNXI_FEX_BIN_IMAGE_SYMLINK = "fex-${MACHINE}.bin" SUNXI_FEX_BIN_IMAGE_SYMLINK = "fex-${MACHINE}.bin"

View File

@ -7,24 +7,11 @@ LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a
# No patches for other machines yet # No patches for other machines yet
COMPATIBLE_MACHINE = "(bananapi|cubieboard|cubieboard2|cubietruck|forfun-q88db|mele|meleg|olinuxino-a10|olinuxino-a10lime|olinuxino-a10s|olinuxino-a13|olinuxino-a13som|olinuxino-a20|olinuxino-a20lime|olinuxino-a20lime2|olinuxino-a20som)" COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i)"
DEFAULT_PREFERENCE_bananapi="1" DEFAULT_PREFERENCE_sun4i="1"
DEFAULT_PREFERENCE_cubieboard="1" DEFAULT_PREFERENCE_sun5i="1"
DEFAULT_PREFERENCE_cubieboard2="1" DEFAULT_PREFERENCE_sun7i="1"
DEFAULT_PREFERENCE_cubietruck="1"
DEFAULT_PREFERENCE_forfun-q88db="1"
DEFAULT_PREFERENCE_mele="1"
DEFAULT_PREFERENCE_meleg="1"
DEFAULT_PREFERENCE_olinuxino-a10="1"
DEFAULT_PREFERENCE_olinuxino-a10lime="1"
DEFAULT_PREFERENCE_olinuxino-a10s="1"
DEFAULT_PREFERENCE_olinuxino-a13="1"
DEFAULT_PREFERENCE_olinuxino-a13som="1"
DEFAULT_PREFERENCE_olinuxino-a20="1"
DEFAULT_PREFERENCE_olinuxino-a20lime="1"
DEFAULT_PREFERENCE_olinuxino-a20lime2="1"
DEFAULT_PREFERENCE_olinuxino-a20som="1"
SRC_URI = "git://github.com/linux-sunxi/u-boot-sunxi.git;protocol=git;branch=sunxi" SRC_URI = "git://github.com/linux-sunxi/u-boot-sunxi.git;protocol=git;branch=sunxi"

View File

@ -19,24 +19,11 @@ file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \
file://Licenses/x11.txt;md5=b46f176c847b8742db02126fb8af92e2 \ file://Licenses/x11.txt;md5=b46f176c847b8742db02126fb8af92e2 \
" "
COMPATIBLE_MACHINE = "(bananapi|cubieboard|cubieboard2|cubietruck|forfun-q88db|mele|meleg|olinuxino-a10|olinuxino-a10lime|olinuxino-a10s|olinuxino-a13|olinuxino-a13som|olinuxino-a20|olinuxino-a20lime|olinuxino-a20lime2|olinuxino-a20som)" COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i)"
DEFAULT_PREFERENCE_bananapi="1" DEFAULT_PREFERENCE_sun4i="1"
DEFAULT_PREFERENCE_cubieboard="1" DEFAULT_PREFERENCE_sun5i="1"
DEFAULT_PREFERENCE_cubieboard2="1" DEFAULT_PREFERENCE_sun7i="1"
DEFAULT_PREFERENCE_cubietruck="1"
DEFAULT_PREFERENCE_forfun-q88db="1"
DEFAULT_PREFERENCE_mele="1"
DEFAULT_PREFERENCE_meleg="1"
DEFAULT_PREFERENCE_olinuxino-a10="1"
DEFAULT_PREFERENCE_olinuxino-a10lime="1"
DEFAULT_PREFERENCE_olinuxino-a10s="1"
DEFAULT_PREFERENCE_olinuxino-a13="1"
DEFAULT_PREFERENCE_olinuxino-a13som="1"
DEFAULT_PREFERENCE_olinuxino-a20="1"
DEFAULT_PREFERENCE_olinuxino-a20lime="1"
DEFAULT_PREFERENCE_olinuxino-a20lime2="1"
DEFAULT_PREFERENCE_olinuxino-a20som="1"
# Mainline U-Boot uses different names for some boards # Mainline U-Boot uses different names for some boards
UBOOT_MACHINE_olinuxino-a20 = "A20-OLinuXino_MICRO_config" UBOOT_MACHINE_olinuxino-a20 = "A20-OLinuXino_MICRO_config"

View File

@ -3,7 +3,7 @@ DESCRIPTION = "libGLES for the A10/A13 Allwinner processor with Mali 400 (X11)"
LICENSE = "Proprietary" LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://README;md5=1b81a178e80ee888ee4571772699ab2c" LIC_FILES_CHKSUM = "file://README;md5=1b81a178e80ee888ee4571772699ab2c"
COMPATIBLE_MACHINE = "(bananapi|cubieboard|cubieboard2|cubietruck|forfun-q88db|mele|meleg|olinuxino-a10|olinuxino-a10lime|olinuxino-a10s|olinuxino-a13|olinuxino-a13som|olinuxino-a20|olinuxino-a20lime|olinuxino-a20lime2|olinuxino-a20som)" COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i)"
DEPENDS = "virtual/libx11 libxau libxdmcp libdrm dri2proto libdri2 libump" DEPENDS = "virtual/libx11 libxau libxdmcp libdrm dri2proto libdri2 libump"
# These libraries shouldn't get installed in world builds unless something # These libraries shouldn't get installed in world builds unless something

View File

@ -2,7 +2,7 @@ SECTION = "kernel"
DESCRIPTION = "Mainline Linux kernel" DESCRIPTION = "Mainline Linux kernel"
LICENSE = "GPLv2" LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
COMPATIBLE_MACHINE = "(bananapi|cubieboard|cubieboard2|cubietruck|mele|olinuxino-a10lime|olinuxino-a10s|olinuxino-a13|olinuxino-a20|olinuxino-a20lime|olinuxino-a20lime2)" COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i)"
inherit kernel inherit kernel

View File

@ -2,7 +2,7 @@ require linux.inc
DESCRIPTION = "Linux kernel for Allwinner a10/a20 processors" DESCRIPTION = "Linux kernel for Allwinner a10/a20 processors"
COMPATIBLE_MACHINE = "(bananapi|cubieboard|cubieboard2|cubietruck|forfun-q88db|mele|meleg|olinuxino-a10|olinuxino-a10lime|olinuxino-a10s|olinuxino-a13|olinuxino-a13som|olinuxino-a20|olinuxino-a20lime|olinuxino-a20lime2|olinuxino-a20som)" COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i)"
PV = "3.4.90" PV = "3.4.90"
PR = "r1" PR = "r1"