summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2019-07-15 14:26:21 +0100
committerAndrei Gherzan <andrei@gherzan.ro>2019-07-16 13:39:01 +0100
commit1e329d36c99718194d20e6216f1c13199e124bb7 (patch)
tree8d2f3b91a69df3e7b9e3130d97bfeefedb97d061
parent9966bdcfe649e8fc03ac3d34c801f6ba64a7e9c4 (diff)
downloadmeta-raspberrypi-1e329d36c99718194d20e6216f1c13199e124bb7.tar.gz
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 <andrei@gherzan.ro>
-rw-r--r--recipes-kernel/linux/linux-raspberrypi.inc8
1 files changed, 5 insertions, 3 deletions
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() {
122 rm -f ${B}/.config.patched 122 rm -f ${B}/.config.patched
123} 123}
124 124
125do_compile_append_raspberrypi3-64() { 125do_compile_append() {
126 cc_extra=$(get_cc_option) 126 if [ "${SITEINFO_BITS}" = "64" ]; then
127 oe_runmake dtbs CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS} 127 cc_extra=$(get_cc_option)
128 oe_runmake dtbs CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS}
129 fi
128} 130}
129 131
130do_deploy_append() { 132do_deploy_append() {