summaryrefslogtreecommitdiff
path: root/lirc/lirc-modules_0.6.6.oe
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-05-22 13:13:04 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-05-22 13:13:04 +0000
commitb773f9a4eb82c7946320787c123a2ae2b0cbeee2 (patch)
treeef883417f3c8fbd5fcb7342ab62cdad5eafcbac9 /lirc/lirc-modules_0.6.6.oe
parent9ae4aa344e01467d9529e9b7d2d6d66bee658422 (diff)
make lirc pick up the kernel compiler
BKrev: 40af51e0-R6vnpmFKbC4m_9cOdVIBw
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() {