FILESEXTRAPATHS_prepend := "${THISDIR}/linux-cavium:" require recipes-kernel/linux/linux-yocto.inc require recipes-kernel/linux/linux-deploy-kconfig.inc # board specific branches KBRANCH_cn8304 ?= "cavium-4.9" KBRANCH_qemuarm64 ?= "cavium-4.9" SRCREV_machine_cn8304 ?= "972d2791f326533d1d03fe561da667ce150319b4" SRCREV_machine_qemuarm64 ?= "972d2791f326533d1d03fe561da667ce150319b4" SRCREV_metaenea ?= "85a500385477e07d144fc3fcfa4ec62e6aabc8e8" KENEABRANCH = "cavium-4.9" SRC_URI = "git://git@git.enea.com/linux/linux-cavium.git;protocol=ssh;name=machine;branch=${KBRANCH} \ git://git@git.enea.com/linux/enea-kernel-cache.git;protocol=ssh;type=kmeta;name=metaenea;branch=${KENEABRANCH};destsuffix=enea-kernel-cache \ file://dts \ file://CVE-2016-10154.patch \ file://CVE-2016-10208.patch \ file://CVE-2017-5551.patch \ file://CVE-2017-5577.patch \ file://CVE-2017-5669.patch \ file://CVE-2017-5970.patch \ file://CVE-2017-5986.patch \ file://CVE-2017-6214.patch \ file://CVE-2017-6345.patch \ file://CVE-2017-6348.patch \ file://CVE-2017-6353.patch \ file://CVE-2017-7487.patch \ file://CVE-2017-7618.patch \ file://CVE-2017-7645.patch \ file://CVE-2017-8062.patch \ file://CVE-2017-8063.patch \ file://CVE-2017-8064.patch \ file://CVE-2017-8066.patch \ file://CVE-2017-8067.patch \ file://CVE-2017-8068.patch \ file://CVE-2017-8069.patch \ file://CVE-2017-8831.patch \ file://CVE-2017-1000364.patch \ file://0001-openvswitch-fixed-kernel-crash.patch \ file://CVE-2017-11176.patch \ " LINUX_KERNEL_TYPE = "tiny" LINUX_VERSION ?= "4.9.0" LINUX_VERSION_EXTENSION = "-cavium-${LINUX_KERNEL_TYPE}" PV = "4.9-octeontx.sdk.6.1.0.p3.build.22" KERNEL_DEVICETREE_cn8304 = "cavium/ebb8304-linux.dtb" COMPATIBLE_MACHINE = "cn8304|qemuarm64" KMACHINE_cn8304 = "cavium-cn8304" KMACHINE_qemuarm64 = "cavium-cn8304" KERNEL_FEATURES_append = " features/udev/udev.scc" KERNEL_FEATURES_append_cn8304 += "features/net/thunderx/thunderx_nic.scc" do_patch_append() { install -D ${S}/arch/${ARCH}/boot/dts install ${WORKDIR}/dts/* ${S}/arch/${ARCH}/boot/dts/cavium/ }