summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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() {