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.oe4
1 files changed, 2 insertions, 2 deletions
diff --git a/lirc/lirc-modules_0.6.6.oe b/lirc/lirc-modules_0.6.6.oe
index aa6bebfff9..7f254d8669 100644
--- a/lirc/lirc-modules_0.6.6.oe
+++ b/lirc/lirc-modules_0.6.6.oe
@@ -15,8 +15,8 @@ export ARCH=${TARGET_ARCH}
export OS=${TARGET_OS}
export CROSS_COMPILE=${CROSS}
-KERNEL_VERSION = ${@open('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-version').read().strip()}
-KERNEL_SOURCE = ${@open('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-source').read().strip()}
+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"
export TOPDIR = "${KERNEL_SOURCE}"