Commit f661272c011fe05d6ce1738778d5a2ad47352f9e

Authored by Eric Lee
1 parent 222805267d

Fix Linux kernel wdog device tree node description

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 = "9b4882b1590910824c3019f0d479c697f51aabcc" 24 SRCREV = "4544004fd5f97dece58e27f3ade5c7f47feaea23"
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