summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-09-17 22:32:45 -0700
committerAndrei Gherzan <andrei@gherzan.com>2017-09-20 15:50:20 +0100
commit6c4de0b5fe44b8e661f1391ee8540a7f04d75315 (patch)
tree04b651ff46757fb747aab871613ec7446180124b
parentbb51049ebe761ac2806fa0fa492c586976632011 (diff)
downloadmeta-raspberrypi-6c4de0b5fe44b8e661f1391ee8540a7f04d75315.tar.gz
linux-raspberrypi: Build dtbs with dtbs make target for rpi64
OE currently builds dtb files with its own custom targets by specifying each dtb file as makefile target, this creates bad dtb for rpi64 bit. This patch calles 'make dtbs' at the end which regenerates the correct dtb files This makes the vc4 initialize properly on rpi64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes-kernel/linux/linux-raspberrypi.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
index f336490..b348a9d 100644
--- a/recipes-kernel/linux/linux-raspberrypi.inc
+++ b/recipes-kernel/linux/linux-raspberrypi.inc
@@ -38,6 +38,11 @@ python __anonymous () {
38 d.setVar("KERNEL_DEVICETREE", kerneldt) 38 d.setVar("KERNEL_DEVICETREE", kerneldt)
39} 39}
40 40
41do_compile_append_raspberrypi3-64() {
42 cc_extra=$(get_cc_option)
43 oe_runmake dtbs CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS}
44}
45
41do_install_prepend() { 46do_install_prepend() {
42 install -d ${D}/lib/firmware 47 install -d ${D}/lib/firmware
43} 48}