summaryrefslogtreecommitdiff
path: root/classes/module-base.bbclass
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2006-01-25 20:43:08 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-25 20:43:08 +0000
commit38afe7f80b932c486dba87ceaf323093835957d9 (patch)
treeb2928b433e2ca0fdaae8824fef78888f5caf296a /classes/module-base.bbclass
parent3e96c20c41076a688f14e602f3db02b2a25ef22c (diff)
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.
Diffstat (limited to 'classes/module-base.bbclass')
-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