diff options
author | 2015-10-14 11:40:06 +0200 | |
---|---|---|
committer | 2015-10-14 10:59:13 +0100 | |
commit | 8f10af937705ad07c9fdeeb24f779e943be94871 (patch) | |
tree | bb9e1342e12150ff03f403a83ffbd52b2e4081c8 | |
parent | 9364ee08da1af5a7fbff9e27cb7e7549cc6f9115 (diff) | |
download | meta-qcom-8f10af937705ad07c9fdeeb24f779e943be94871.tar.gz meta-qcom-8f10af937705ad07c9fdeeb24f779e943be94871.tar.bz2 meta-qcom-8f10af937705ad07c9fdeeb24f779e943be94871.zip |
linux-linaro-qcomlt 4.2: handle older OE-core branches
linux-dtb.inc was updated post-fido to generate the dtbs early, so lets
add a workaround for older OE-core branches. This is less work than
creating a seperate branch, which might be needed in the future.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r-- | recipes-kernel/linux/linux-linaro-qcomlt_4.2.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-linaro-qcomlt_4.2.bb b/recipes-kernel/linux/linux-linaro-qcomlt_4.2.bb index a1debec..13f4445 100644 --- a/recipes-kernel/linux/linux-linaro-qcomlt_4.2.bb +++ b/recipes-kernel/linux/linux-linaro-qcomlt_4.2.bb @@ -30,6 +30,9 @@ do_compile_append_ifc6410() { # append DTB, since bootloader doesn't support DTB do_compile_append_ifc6410() { + if ! [ -e ${B}/arch/${ARCH}/boot/dts/${KERNEL_DEVICETREE} ] ; then + oe_runmake ${DTB} + fi cp ${KERNEL_OUTPUT} ${KERNEL_OUTPUT}.backup cat ${KERNEL_OUTPUT}.backup ${B}/arch/${ARCH}/boot/dts/${KERNEL_DEVICETREE} > ${KERNEL_OUTPUT} rm -f ${KERNEL_OUTPUT}.backup |