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-20 21:56:21 +0100
commita4a3f958f93b71eb1f61dc00b27cd2fdb13871f5 (patch)
treed1f188ad6049c5d4d76b8102ed6b445d266291ba
parent2b30e66f08a8d77b13ccc5e2abcace78624ff189 (diff)
downloadmeta-raspberrypi-a4a3f958f93b71eb1f61dc00b27cd2fdb13871f5.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() {