diff options
Diffstat (limited to 'lirc')
-rw-r--r-- | lirc/lirc-modules_0.6.6.oe | 22 | ||||
-rw-r--r-- | lirc/lirc_0.6.6.oe | 15 |
2 files changed, 10 insertions, 27 deletions
diff --git a/lirc/lirc-modules_0.6.6.oe b/lirc/lirc-modules_0.6.6.oe index 8e9b7ee43e..eb2756a4e1 100644 --- a/lirc/lirc-modules_0.6.6.oe +++ b/lirc/lirc-modules_0.6.6.oe @@ -9,27 +9,15 @@ DEPENDS = "virtual/kernel" SRC_URI = "${SOURCEFORGE_MIRROR}/lirc/lirc-${PV}.tar.gz" S = "${WORKDIR}/lirc-${PV}" -inherit autotools +inherit autotools module-base -export ARCH=${TARGET_ARCH} -export OS=${TARGET_OS} -export CROSS_COMPILE=${CROSS} - -KERNEL_VERSION = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-abiversion')} -KERNEL_SOURCE = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-source')} -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}" +EXTRA_OECONF_collie = "--with-kerneldir=${KERNEL_SOURCE} --with-driver=sa1100 --without-x" +EXTRA_OECONF_h3600 = "--with-kerneldir=${KERNEL_SOURCE} --with-driver=sa1100 --without-x" +EXTRA_OECONF_beagle = "--with-kerneldir=${KERNEL_SOURCE} --with-driver=sa1100 --without-x" +EXTRA_OECONF_simpad = "--with-kerneldir=${KERNEL_SOURCE} --with-driver=sa1100 --without-x" export TOPDIR = "${KERNEL_SOURCE}" -#FIXME: Caution: EXTRA_OECONF is arm-specific! - -EXTRA_OECONF = "--with-kerneldir=${KERNEL_SOURCE} \ - --with-driver=sa1100 \ - --without-x" - do_compile() { cd drivers && oe_runmake CC="${KERNEL_CC}" LD="${KERNEL_LD}" } diff --git a/lirc/lirc_0.6.6.oe b/lirc/lirc_0.6.6.oe index d877b4642d..0764df0da4 100644 --- a/lirc/lirc_0.6.6.oe +++ b/lirc/lirc_0.6.6.oe @@ -9,17 +9,12 @@ DEPENDS = "virtual/kernel" SRC_URI = "${SOURCEFORGE_MIRROR}/lirc/lirc-${PV}.tar.gz" S = "${WORKDIR}/lirc-${PV}" -inherit autotools +inherit autotools module-base -KERNEL_VERSION = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-abiversion')} -KERNEL_SOURCE = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-source')} -KERNEL_PATH = "${STAGING_LIBDIR}/../kernel" - -#FIXME: Caution: EXTRA_OECONF is arm-specific! - -EXTRA_OECONF = "--with-kerneldir=${KERNEL_SOURCE} \ - --with-driver=sa1100 \ - --without-x" +EXTRA_OECONF_collie = "--with-kerneldir=${KERNEL_SOURCE} --with-driver=sa1100 --without-x" +EXTRA_OECONF_h3600 = "--with-kerneldir=${KERNEL_SOURCE} --with-driver=sa1100 --without-x" +EXTRA_OECONF_beagle = "--with-kerneldir=${KERNEL_SOURCE} --with-driver=sa1100 --without-x" +EXTRA_OECONF_simpad = "--with-kerneldir=${KERNEL_SOURCE} --with-driver=sa1100 --without-x" EXTRA_OEMAKE = 'SUBDIRS="daemons tools"' |