diff options
Diffstat (limited to 'recipes-kernel/linux/linux-cavium_4.9.bb')
-rw-r--r-- | recipes-kernel/linux/linux-cavium_4.9.bb | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/recipes-kernel/linux/linux-cavium_4.9.bb b/recipes-kernel/linux/linux-cavium_4.9.bb index f26a34e..2851845 100644 --- a/recipes-kernel/linux/linux-cavium_4.9.bb +++ b/recipes-kernel/linux/linux-cavium_4.9.bb | |||
@@ -1,37 +1 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | require linux-cavium_4.9.inc | |
2 | |||
3 | require recipes-kernel/linux/linux-yocto.inc | ||
4 | require recipes-kernel/linux/linux-deploy-kconfig.inc | ||
5 | |||
6 | # board specific branches | ||
7 | KBRANCH_cn8304 ?= "cavium-4.9" | ||
8 | KBRANCH_qemuarm64 ?= "cavium-4.9" | ||
9 | |||
10 | SRCREV_machine_cn8304 ?= "3804edd9db9c0d3e0e8301f13bdc569bcc0ebd09" | ||
11 | SRCREV_machine_qemuarm64 ?= "3804edd9db9c0d3e0e8301f13bdc569bcc0ebd09" | ||
12 | SRCREV_metaenea ?= "85a500385477e07d144fc3fcfa4ec62e6aabc8e8" | ||
13 | KENEABRANCH = "cavium-4.9" | ||
14 | |||
15 | SRC_URI = "git://git@git.enea.com/linux/linux-cavium.git;protocol=ssh;name=machine;branch=${KBRANCH} \ | ||
16 | git://git@git.enea.com/linux/enea-kernel-cache.git;protocol=ssh;type=kmeta;name=metaenea;branch=${KENEABRANCH};destsuffix=enea-kernel-cache \ | ||
17 | file://dts \ | ||
18 | " | ||
19 | |||
20 | LINUX_KERNEL_TYPE = "tiny" | ||
21 | LINUX_VERSION ?= "4.9.0" | ||
22 | LINUX_VERSION_EXTENSION = "-cavium-${LINUX_KERNEL_TYPE}" | ||
23 | PV = "4.9-octeontx.sdk.6.1.0.p2.build.17" | ||
24 | |||
25 | KERNEL_DEVICETREE_cn8304 = "cavium/ebb8304-linux.dtb" | ||
26 | |||
27 | COMPATIBLE_MACHINE = "cn8304|qemuarm64" | ||
28 | KMACHINE_cn8304 = "cavium-cn8304" | ||
29 | KMACHINE_qemuarm64 = "cavium-cn8304" | ||
30 | |||
31 | KERNEL_FEATURES_append = " features/udev/udev.scc" | ||
32 | KERNEL_FEATURES_append_cn8304 += "features/net/thunderx/thunderx_nic.scc" | ||
33 | |||
34 | do_patch_append() { | ||
35 | install -D ${S}/arch/${ARCH}/boot/dts | ||
36 | install ${WORKDIR}/dts/* ${S}/arch/${ARCH}/boot/dts/cavium/ | ||
37 | } | ||