summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/module-base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/module-base.bbclass b/classes/module-base.bbclass
index df0941d561..3aa7072370 100644
--- a/classes/module-base.bbclass
+++ b/classes/module-base.bbclass
@@ -10,7 +10,7 @@ export KERNEL_SOURCE = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-source')
KERNEL_OBJECT_SUFFIX = "${@[".o", ".ko"][base_read_file('${STAGING_KERNEL_DIR}/kernel-abiversion') > "2.6.0"]}"
KERNEL_CCSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-ccsuffix')}"
KERNEL_LDSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-ldsuffix')}"
-KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX}"
+KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX} ${HOST_CC_ARCH}"
KERNEL_LD = "${LD}${KERNEL_LDSUFFIX}"
# kernel modules are generally machine specific