diff --git a/conf/machine/include/sun9i.inc b/conf/machine/include/sun9i.inc new file mode 100644 index 0000000..1037a20 --- /dev/null +++ b/conf/machine/include/sun9i.inc @@ -0,0 +1,5 @@ +require conf/machine/include/sunxi.inc +require conf/machine/include/sunxi-mali.inc +require conf/machine/include/arm/armv7a/tune-cortexa15.inc + +SOC_FAMILY = "sun9i" diff --git a/recipes-bsp/u-boot/u-boot_%.bbappend b/recipes-bsp/u-boot/u-boot_%.bbappend index ea69e04..6420a7d 100644 --- a/recipes-bsp/u-boot/u-boot_%.bbappend +++ b/recipes-bsp/u-boot/u-boot_%.bbappend @@ -3,7 +3,7 @@ FILESEXTRAPATHS:prepend:sunxi := "${THISDIR}/files:" DEPENDS:append:sunxi = " bc-native dtc-native swig-native python3-native flex-native bison-native " DEPENDS:append:sun50i = " trusted-firmware-a" -COMPATIBLE_MACHINE:sunxi = "(sun4i|sun5i|sun7i|sun8i|sun50i)" +COMPATIBLE_MACHINE:sunxi = "(sun4i|sun5i|sun7i|sun8i|sun9i|sun50i)" DEFAULT_PREFERENCE:sun4i = "1" DEFAULT_PREFERENCE:sun5i = "1" diff --git a/recipes-kernel/linux/linux-mainline.inc b/recipes-kernel/linux/linux-mainline.inc index da1b40e..91e562d 100644 --- a/recipes-kernel/linux/linux-mainline.inc +++ b/recipes-kernel/linux/linux-mainline.inc @@ -1,7 +1,7 @@ SECTION = "kernel" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" -COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i|sun8i|sun50i)" +COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i|sun8i|sun9i|sun50i)" inherit kernel