summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-imx.inc
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2013-04-17 15:39:25 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2013-04-19 10:29:26 -0300
commit8fddd6b33ac3a399bc0897a713226d00aab7dad3 (patch)
tree048a007100030778b09a9da7532f8b496b7470c7 /recipes-kernel/linux/linux-imx.inc
parentfc0106bef4d9fca0117eac52f40e63fd4a21ac6a (diff)
downloadmeta-fsl-arm-8fddd6b33ac3a399bc0897a713226d00aab7dad3.tar.gz
linux-imx.inc: Pass LOADADDRESS to kernel build
By default, the kernel uses the known value for the entry address however we cannot rely on this for having the right value. To workaround it we should pass LOADADDRESS value to the kernel build system. Change-Id: If6434c8a9ced044776766e7916ab391d28d685f1 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-kernel/linux/linux-imx.inc')
-rw-r--r--recipes-kernel/linux/linux-imx.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-imx.inc b/recipes-kernel/linux/linux-imx.inc
index 5fbdfe0..9020f57 100644
--- a/recipes-kernel/linux/linux-imx.inc
+++ b/recipes-kernel/linux/linux-imx.inc
@@ -19,6 +19,10 @@ SRC_URI = "git://git.freescale.com/imx/linux-2.6-imx.git \
19 19
20S = "${WORKDIR}/git" 20S = "${WORKDIR}/git"
21 21
22# We need to pass it as param since kernel might support more then one
23# machine, with different entry points
24KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
25
22kernel_conf_variable() { 26kernel_conf_variable() {
23 CONF_SED_SCRIPT="$CONF_SED_SCRIPT /CONFIG_$1[ =]/d;" 27 CONF_SED_SCRIPT="$CONF_SED_SCRIPT /CONFIG_$1[ =]/d;"
24 if test "$2" = "n" 28 if test "$2" = "n"