Commit 2db513e4af68994a7bab3301fb65c606af43ec10
1 parent
559c106c2c
Exists in
smarcimx8m-rocko
Modify Linux preferred verison
Showing 5 changed files with 55 additions and 55 deletions Side-by-side Diff
conf/machine/smarcimx8m2g.conf
... | ... | @@ -18,7 +18,7 @@ |
18 | 18 | |
19 | 19 | # Embedian BSP default providers |
20 | 20 | PREFERRED_PROVIDER_virtual/kernel_smarcimx8m2g ?= "linux-smarcimx8m" |
21 | -PREFERRED_VERSION_linux-smarcimx8m_smarcimx8m2g = "4.9.51_imx8m" | |
21 | +PREFERRED_VERSION_linux-smarcimx8m_smarcimx8m2g = "4.9.51" | |
22 | 22 | |
23 | 23 | KERNEL_DEVICETREE = " \ |
24 | 24 | embedian/fsl-smarcimx8mq.dtb \ |
conf/machine/smarcimx8m2gind.conf
... | ... | @@ -18,7 +18,7 @@ |
18 | 18 | |
19 | 19 | # Embedian BSP default providers |
20 | 20 | PREFERRED_PROVIDER_virtual/kernel_smarcimx8m2g ?= "linux-smarcimx8m" |
21 | -PREFERRED_VERSION_linux-smarcimx8m_smarcimx8m2g = "4.9.51_imx8m" | |
21 | +PREFERRED_VERSION_linux-smarcimx8m_smarcimx8m2g = "4.9.51" | |
22 | 22 | |
23 | 23 | KERNEL_DEVICETREE = " \ |
24 | 24 | embedian/fsl-smarcimx8mq.dtb \ |
conf/machine/smarcimx8m4g.conf
... | ... | @@ -18,7 +18,7 @@ |
18 | 18 | |
19 | 19 | # Embedian BSP default providers |
20 | 20 | PREFERRED_PROVIDER_virtual/kernel_smarcimx8m2g ?= "linux-smarcimx8m" |
21 | -PREFERRED_VERSION_linux-smarcimx8m_smarcimx8m2g = "4.9.51_imx8m" | |
21 | +PREFERRED_VERSION_linux-smarcimx8m_smarcimx8m2g = "4.9.51" | |
22 | 22 | |
23 | 23 | KERNEL_DEVICETREE = " \ |
24 | 24 | embedian/fsl-smarcimx8mq.dtb \ |
recipes-kernel/linux/linux-smarcimx8m_4.9.51.bb
1 | +# Copyright (C) 2013-2016 Freescale Semiconductor | |
2 | +# Copyright 2017 NXP | |
3 | +# Copyright 2018 Embedian, Inc.. | |
4 | +# Released under the MIT license (see COPYING.MIT for the terms) | |
5 | + | |
6 | +SUMMARY = "Linux Kernel provided and supported by NXP" | |
7 | +DESCRIPTION = "Linux Kernel provided and supported by NXP with focus on \ | |
8 | +i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU." | |
9 | + | |
10 | +require recipes-kernel/linux/linux-imx.inc | |
11 | +require recipes-kernel/linux/linux-imx-src.inc | |
12 | + | |
13 | +DEPENDS += "lzop-native bc-native" | |
14 | + | |
15 | +DEFAULT_PREFERENCE = "1" | |
16 | + | |
17 | +DO_CONFIG_V7_COPY = "no" | |
18 | +DO_CONFIG_V7_COPY_mx6 = "yes" | |
19 | +DO_CONFIG_V7_COPY_mx7 = "yes" | |
20 | +DO_CONFIG_V7_COPY_mx8 = "no" | |
21 | + | |
22 | +SRCBRANCH = "smarc-imx_4.9.51_imx8m_ga" | |
23 | + | |
24 | +LOCALVERSION = "-${SRCBRANCH}" | |
25 | +DEFCONFIG_mx8 = "smarcimx8m_defconfig" | |
26 | + | |
27 | +KERNEL_SRC ?= "git@git.embedian.com:developer/smarc-fsl-linux-kernel.git;protocol=git" | |
28 | +SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${SRCBRANCH}" | |
29 | +SRCREV = "044022d8da98d6636945dc33ef969f5e096fce1f" | |
30 | + | |
31 | +S = "${WORKDIR}/git" | |
32 | + | |
33 | +addtask copy_defconfig after do_unpack before do_preconfigure | |
34 | +do_copy_defconfig () { | |
35 | + install -d ${B} | |
36 | + if [ ${DO_CONFIG_V7_COPY} = "yes" ]; then | |
37 | + # copy latest imx_v7_defconfig to use for mx6, mx6ul and mx7 | |
38 | + mkdir -p ${B} | |
39 | + cp ${S}/arch/arm/configs/imx_v7_defconfig ${B}/.config | |
40 | + cp ${S}/arch/arm/configs/imx_v7_defconfig ${B}/../defconfig | |
41 | + else | |
42 | + # copy latest defconfig to use for mx8 | |
43 | + mkdir -p ${B} | |
44 | + cp ${S}/arch/arm64/configs/${DEFCONFIG_mx8} ${B}/.config | |
45 | + cp ${S}/arch/arm64/configs/${DEFCONFIG_mx8} ${B}/../defconfig | |
46 | + fi | |
47 | +} | |
48 | + | |
49 | +COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" | |
50 | +EXTRA_OEMAKE_append_mx6 = " ARCH=arm" | |
51 | +EXTRA_OEMAKE_append_mx7 = " ARCH=arm" | |
52 | +EXTRA_OEMAKE_append_mx8 = " ARCH=arm64" |
recipes-kernel/linux/linux-smarcimx8m_4.9.51_imx8m.bb
1 | -# Copyright (C) 2013-2016 Freescale Semiconductor | |
2 | -# Copyright 2017 NXP | |
3 | -# Copyright 2018 Embedian, Inc.. | |
4 | -# Released under the MIT license (see COPYING.MIT for the terms) | |
5 | - | |
6 | -SUMMARY = "Linux Kernel provided and supported by NXP" | |
7 | -DESCRIPTION = "Linux Kernel provided and supported by NXP with focus on \ | |
8 | -i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU." | |
9 | - | |
10 | -require recipes-kernel/linux/linux-imx.inc | |
11 | -require recipes-kernel/linux/linux-imx-src.inc | |
12 | - | |
13 | -DEPENDS += "lzop-native bc-native" | |
14 | - | |
15 | -DEFAULT_PREFERENCE = "1" | |
16 | - | |
17 | -DO_CONFIG_V7_COPY = "no" | |
18 | -DO_CONFIG_V7_COPY_mx6 = "yes" | |
19 | -DO_CONFIG_V7_COPY_mx7 = "yes" | |
20 | -DO_CONFIG_V7_COPY_mx8 = "no" | |
21 | - | |
22 | -SRCBRANCH = "smarc-imx_4.9.51_imx8m_ga" | |
23 | - | |
24 | -LOCALVERSION = "-${SRCBRANCH}" | |
25 | -DEFCONFIG_mx8 = "smarcimx8m_defconfig" | |
26 | - | |
27 | -KERNEL_SRC ?= "git@git.embedian.com:developer/smarc-fsl-linux-kernel.git;protocol=git" | |
28 | -SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${SRCBRANCH}" | |
29 | -SRCREV = "044022d8da98d6636945dc33ef969f5e096fce1f" | |
30 | - | |
31 | -S = "${WORKDIR}/git" | |
32 | - | |
33 | -addtask copy_defconfig after do_unpack before do_preconfigure | |
34 | -do_copy_defconfig () { | |
35 | - install -d ${B} | |
36 | - if [ ${DO_CONFIG_V7_COPY} = "yes" ]; then | |
37 | - # copy latest imx_v7_defconfig to use for mx6, mx6ul and mx7 | |
38 | - mkdir -p ${B} | |
39 | - cp ${S}/arch/arm/configs/imx_v7_defconfig ${B}/.config | |
40 | - cp ${S}/arch/arm/configs/imx_v7_defconfig ${B}/../defconfig | |
41 | - else | |
42 | - # copy latest defconfig to use for mx8 | |
43 | - mkdir -p ${B} | |
44 | - cp ${S}/arch/arm64/configs/${DEFCONFIG_mx8} ${B}/.config | |
45 | - cp ${S}/arch/arm64/configs/${DEFCONFIG_mx8} ${B}/../defconfig | |
46 | - fi | |
47 | -} | |
48 | - | |
49 | -COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" | |
50 | -EXTRA_OEMAKE_append_mx6 = " ARCH=arm" | |
51 | -EXTRA_OEMAKE_append_mx7 = " ARCH=arm" | |
52 | -EXTRA_OEMAKE_append_mx8 = " ARCH=arm64" |