From f31d0193c5d12648bbef425ec319e096453b3a9b Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Mon, 15 Jul 2019 14:26:21 +0100 Subject: linux-raspberrypi: Build dtbs with dtbs make target for all 64bit targets We already do this for rpi3-64 and we will need it for rpi4-64 as well. See 6c4de0b5fe44b8e661f1391ee8540a7f04d75315 for more details. Signed-off-by: Andrei Gherzan --- recipes-kernel/linux/linux-raspberrypi.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'recipes-kernel') diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc index e20bfef..ea7f778 100644 --- a/recipes-kernel/linux/linux-raspberrypi.inc +++ b/recipes-kernel/linux/linux-raspberrypi.inc @@ -122,9 +122,11 @@ do_configure_prepend() { rm -f ${B}/.config.patched } -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_compile_append() { + if [ "${SITEINFO_BITS}" = "64" ]; then + cc_extra=$(get_cc_option) + oe_runmake dtbs CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS} + fi } do_deploy_append() { -- cgit v1.2.3-54-g00ecf