diff options
-rw-r--r-- | lirc/lirc-modules_0.6.6.oe | 4 | ||||
-rw-r--r-- | lirc/lirc_0.6.6.oe | 4 |
2 files changed, 4 insertions, 4 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}" diff --git a/lirc/lirc_0.6.6.oe b/lirc/lirc_0.6.6.oe index b067507589..b408962c3d 100644 --- a/lirc/lirc_0.6.6.oe +++ b/lirc/lirc_0.6.6.oe @@ -11,8 +11,8 @@ S = "${WORKDIR}/lirc-${PV}" inherit autotools -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" #FIXME: Caution: EXTRA_OECONF is arm-specific! |