diff options
author | Michael Lauer <mickey@vanille-media.de> | 2004-08-05 11:35:30 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2004-08-05 11:35:30 +0000 |
commit | 9e07751bbfff494a3e3ea1b622112cfcffe69a69 (patch) | |
tree | be556d23c4fa9425642e4233ae6ae90e11210436 /lirc/lirc-modules_0.6.6.oe | |
parent | 6ac49090d6253e542ecb58a3a051ca344a68ba9e (diff) |
add module-base which sets variables. module now inherits module-base. inherit module-base when you build packages which need to know about kernel variables.
BKrev: 41121b82qghzmTY7limvubwIaCIvkQ
Diffstat (limited to 'lirc/lirc-modules_0.6.6.oe')
-rw-r--r-- | lirc/lirc-modules_0.6.6.oe | 22 |
1 files changed, 5 insertions, 17 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}" } |