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

@ -7,24 +7,11 @@ LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a
# 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_cubieboard="1"
DEFAULT_PREFERENCE_cubieboard2="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"
DEFAULT_PREFERENCE_sun4i="1"
DEFAULT_PREFERENCE_sun5i="1"
DEFAULT_PREFERENCE_sun7i="1"
SRC_URI = "git://github.com/linux-sunxi/u-boot-sunxi.git;protocol=git;branch=sunxi"