From: Rene Wagner Date: Wed, 25 Jan 2006 20:43:08 +0000 (+0000) Subject: module-base.bbclass: fix miscompilation of out of tree kernel modules trying to acces... X-Git-Tag: Release-2010-05/1~9453^2~2556 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38afe7f80b932c486dba87ceaf323093835957d9;p=openembedded.git module-base.bbclass: fix miscompilation of out of tree kernel modules trying to access GPIO registers. make sure to bump PR on all affected .bbs. thanks to Phil for spotting. --- 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