Commit 5ab46bc5e8d51634d78687bdb985162a33f52c22
1 parent
4fbdfd36c0
Exists in
8m_4.14.78_1.0.0_ga_sumo
Add kernel CAN bus irq pin
Showing 1 changed file with 1 additions and 1 deletions Inline Diff
recipes-kernel/linux/linux-smarcimx8m_4.14.78.bb
1 | # Copyright (C) 2013-2016 Freescale Semiconductor | 1 | # Copyright (C) 2013-2016 Freescale Semiconductor |
2 | # Copyright 2017 NXP | 2 | # Copyright 2017 NXP |
3 | # Copyright 2018-2019 Embedian, Inc. | 3 | # Copyright 2018-2019 Embedian, Inc. |
4 | # Released under the MIT license (see COPYING.MIT for the terms) | 4 | # Released under the MIT license (see COPYING.MIT for the terms) |
5 | 5 | ||
6 | SUMMARY = "Linux kernel provided and supported by Embedian" | 6 | SUMMARY = "Linux kernel provided and supported by Embedian" |
7 | DESCRIPTION = "Linux kernel provided and supported by Embedian (based on the kernel imx_4.14.78_1.0.0_ga provided by NXP) \ | 7 | DESCRIPTION = "Linux kernel provided and supported by Embedian (based on the kernel imx_4.14.78_1.0.0_ga provided by NXP) \ |
8 | with focus on i.MX Family SOMs. It includes support for many IPs such as GPU, VPU and IPU." | 8 | with focus on i.MX Family SOMs. It includes support for many IPs such as GPU, VPU and IPU." |
9 | 9 | ||
10 | require recipes-kernel/linux/linux-imx.inc | 10 | require recipes-kernel/linux/linux-imx.inc |
11 | 11 | ||
12 | DEPENDS += "lzop-native bc-native" | 12 | DEPENDS += "lzop-native bc-native" |
13 | 13 | ||
14 | DEFAULT_PREFERENCE = "1" | 14 | DEFAULT_PREFERENCE = "1" |
15 | 15 | ||
16 | SRCBRANCH = "smarc_8m_imx_4.14.78_1.0.0_ga" | 16 | SRCBRANCH = "smarc_8m_imx_4.14.78_1.0.0_ga" |
17 | 17 | ||
18 | LOCALVERSION = "-${SRCBRANCH}" | 18 | LOCALVERSION = "-${SRCBRANCH}" |
19 | KERNEL_DEFCONFIG = "${S}/arch/arm64/configs/smarcimx8m_defconfig" | 19 | KERNEL_DEFCONFIG = "${S}/arch/arm64/configs/smarcimx8m_defconfig" |
20 | DEFAULT_DTB = "fsl-smarcimx8mq" | 20 | DEFAULT_DTB = "fsl-smarcimx8mq" |
21 | 21 | ||
22 | KERNEL_SRC ?= "git@git.embedian.com:developer/smarc-fsl-linux-kernel.git;protocol=git" | 22 | KERNEL_SRC ?= "git@git.embedian.com:developer/smarc-fsl-linux-kernel.git;protocol=git" |
23 | SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${SRCBRANCH}" | 23 | SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${SRCBRANCH}" |
24 | SRCREV = "5391ef46f0e83d177b39b575518a70df15d8dcc2" | 24 | SRCREV = "edbedc0fab5340f84384e1bd870669a9e0b9d824" |
25 | 25 | ||
26 | S = "${WORKDIR}/git" | 26 | S = "${WORKDIR}/git" |
27 | 27 | ||
28 | addtask copy_defconfig after do_unpack before do_preconfigure | 28 | addtask copy_defconfig after do_unpack before do_preconfigure |
29 | do_copy_defconfig () { | 29 | do_copy_defconfig () { |
30 | install -d ${B} | 30 | install -d ${B} |
31 | mkdir -p ${B} | 31 | mkdir -p ${B} |
32 | cp ${KERNEL_DEFCONFIG} ${B}/.config | 32 | cp ${KERNEL_DEFCONFIG} ${B}/.config |
33 | cp ${KERNEL_DEFCONFIG} ${B}/../defconfig | 33 | cp ${KERNEL_DEFCONFIG} ${B}/../defconfig |
34 | } | 34 | } |
35 | 35 | ||
36 | pkg_postinst_kernel-devicetree_append_mx8 () { | 36 | pkg_postinst_kernel-devicetree_append_mx8 () { |
37 | cd $D/boot | 37 | cd $D/boot |
38 | ln -s ${DEFAULT_DTB}.dtb ${UBOOT_DTB_NAME} | 38 | ln -s ${DEFAULT_DTB}.dtb ${UBOOT_DTB_NAME} |
39 | } | 39 | } |
40 | 40 | ||
41 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" | 41 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" |
42 | EXTRA_OEMAKE_append_mx8 = " ARCH=arm64" | 42 | EXTRA_OEMAKE_append_mx8 = " ARCH=arm64" |
43 | 43 |