aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2015-10-14 11:40:06 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2015-10-14 10:59:13 +0100
commit8f10af937705ad07c9fdeeb24f779e943be94871 (patch)
treebb9e1342e12150ff03f403a83ffbd52b2e4081c8 /recipes-kernel
parent9364ee08da1af5a7fbff9e27cb7e7549cc6f9115 (diff)
downloadmeta-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>
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-linaro-qcomlt_4.2.bb3
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