aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2016-02-12 08:45:26 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2016-02-16 10:37:29 +0000
commit6abe7a655a61f805e428b5b9a407078ffacf8339 (patch)
tree50be07660f24a57b0dcac312b20c3c51f8945546
parentf0b6f6268a20cc49952239058ce9b5df41a22fb7 (diff)
downloadmeta-qcom-6abe7a655a61f805e428b5b9a407078ffacf8339.tar.gz
meta-qcom-6abe7a655a61f805e428b5b9a407078ffacf8339.tar.bz2
meta-qcom-6abe7a655a61f805e428b5b9a407078ffacf8339.zip
linux-linaro-qcomlt 4.4: fix DTB compilation
The 'DTB' variable is unset at this point leading to OE just running 'oe_runmake' without specifying KERNEL_CC, leading to: arm-angstrom-linux-gnueabi-ld: --pic-veneer: unknown option arm-angstrom-linux-gnueabi-ld: use the --help option for usage information /build/v2015.12/build/tmp-angstrom_v2015_12-glibc/work-shared/ifc6410/kernel-source/Makefile:929: recipe for target 'vmlinux' failed Use the KERNEL_DEVICETREE variable instead. 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.4.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-linaro-qcomlt_4.4.bb b/recipes-kernel/linux/linux-linaro-qcomlt_4.4.bb
index 19127a3..83e104c 100644
--- a/recipes-kernel/linux/linux-linaro-qcomlt_4.4.bb
+++ b/recipes-kernel/linux/linux-linaro-qcomlt_4.4.bb
@@ -31,7 +31,7 @@ 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}
+ oe_runmake ${KERNEL_DEVICETREE}
fi
cp ${KERNEL_OUTPUT} ${KERNEL_OUTPUT}.backup
cat ${KERNEL_OUTPUT}.backup ${B}/arch/${ARCH}/boot/dts/${KERNEL_DEVICETREE} > ${KERNEL_OUTPUT}