From 6c4de0b5fe44b8e661f1391ee8540a7f04d75315 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 17 Sep 2017 22:32:45 -0700 Subject: 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 --- recipes-kernel/linux/linux-raspberrypi.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'recipes-kernel') 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 () { d.setVar("KERNEL_DEVICETREE", kerneldt) } +do_compile_append_raspberrypi3-64() { + cc_extra=$(get_cc_option) + oe_runmake dtbs CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS} +} + do_install_prepend() { install -d ${D}/lib/firmware } -- cgit v1.2.3-54-g00ecf