summaryrefslogtreecommitdiff
path: root/lirc/lirc-modules_0.6.6.oe
diff options
context:
space:
mode:
Diffstat (limited to 'lirc/lirc-modules_0.6.6.oe')
-rw-r--r--lirc/lirc-modules_0.6.6.oe7
1 files changed, 5 insertions, 2 deletions
diff --git a/lirc/lirc-modules_0.6.6.oe b/lirc/lirc-modules_0.6.6.oe
index 7f254d8669..675bd94cf6 100644
--- a/lirc/lirc-modules_0.6.6.oe
+++ b/lirc/lirc-modules_0.6.6.oe
@@ -17,7 +17,10 @@ export CROSS_COMPILE=${CROSS}
KERNEL_VERSION = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-version')}
KERNEL_SOURCE = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-source')}
-KERNEL_PATH = "${STAGING_LIBDIR}/../kernel"
+KERNEL_CCSUFFIX = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-ccsuffix')}
+KERNEL_LDSUFFIX = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-ldsuffix')}
+KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX}"
+KERNEL_LD = "${LD}${KERNEL_LDSUFFIX}"
export TOPDIR = "${KERNEL_SOURCE}"
@@ -28,7 +31,7 @@ EXTRA_OECONF = "--with-kerneldir=${KERNEL_SOURCE} \
--without-x"
do_compile() {
- cd drivers && oe_runmake
+ cd drivers && oe_runmake CC="${KERNEL_CC}" LD="${KERNEL_LD}"
}
do_install() {