summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-kernel/linux/linux-imx.inc19
1 files changed, 18 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-imx.inc b/recipes-kernel/linux/linux-imx.inc
index 9a8a035f..d508a727 100644
--- a/recipes-kernel/linux/linux-imx.inc
+++ b/recipes-kernel/linux/linux-imx.inc
@@ -4,19 +4,36 @@
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" 5LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
6 6
7inherit kernel fsl-kernel-localversion fsl-vivante-kernel-driver-handler 7inherit kernel-yocto kernel fsl-kernel-localversion fsl-vivante-kernel-driver-handler
8 8
9# Put a local version until we have a true SRCREV to point to 9# Put a local version until we have a true SRCREV to point to
10LOCALVERSION ?= "" 10LOCALVERSION ?= ""
11SCMVERSION ?= "y" 11SCMVERSION ?= "y"
12SRCBRANCH ?= "" 12SRCBRANCH ?= ""
13 13
14# Set the PV to the correct kernel version to satisfy the kernel version sanity check
15PV = "${LINUX_VERSION}+git${SRCPV}"
16
14SRC_URI = "git://source.codeaurora.org/external/imx/linux-imx;protocol=https;branch=${SRCBRANCH} \ 17SRC_URI = "git://source.codeaurora.org/external/imx/linux-imx;protocol=https;branch=${SRCBRANCH} \
15 file://defconfig \ 18 file://defconfig \
16" 19"
17 20
18S = "${WORKDIR}/git" 21S = "${WORKDIR}/git"
19 22
23# Tell to kernel class that we would like to use our defconfig to configure the kernel.
24# Otherwise, the --allnoconfig would be used per default which leads to mis-configured
25# kernel.
26#
27# This behavior happens when a defconfig is provided, the kernel-yocto configuration
28# uses the filename as a trigger to use a 'allnoconfig' baseline before merging
29# the defconfig into the build.
30#
31# If the defconfig file was created with make_savedefconfig, not all options are
32# specified, and should be restored with their defaults, not set to 'n'.
33# To properly expand a defconfig like this, we need to specify: KCONFIG_MODE="--alldefconfig"
34# in the kernel recipe include.
35KCONFIG_MODE="--alldefconfig"
36
20# We need to pass it as param since kernel might support more then one 37# We need to pass it as param since kernel might support more then one
21# machine, with different entry points 38# machine, with different entry points
22KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" 39KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"