diff options
author | Derek Young <dyoung@nslu2-linux.org> | 2005-09-17 13:08:44 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-17 13:08:44 +0000 |
commit | 5c8fbba855e50d4f6777f65e1be9b26ca6081d80 (patch) | |
tree | 759481d1a6c6356429726ab00343ce9b88b9b78f /packages/pvrusb2-mci/pvrusb2-mci_20050911.bb | |
parent | 6acb32d8f94a63e9a9e1a2867c162a58cb7cea84 (diff) |
pvrusb2-mci: Add some ugly hackery to define LINUX_ARM_ARCH for nslu2, this should be properly addressed in the future
Diffstat (limited to 'packages/pvrusb2-mci/pvrusb2-mci_20050911.bb')
-rw-r--r-- | packages/pvrusb2-mci/pvrusb2-mci_20050911.bb | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/packages/pvrusb2-mci/pvrusb2-mci_20050911.bb b/packages/pvrusb2-mci/pvrusb2-mci_20050911.bb index aa261db2fc..94589e268c 100644 --- a/packages/pvrusb2-mci/pvrusb2-mci_20050911.bb +++ b/packages/pvrusb2-mci/pvrusb2-mci_20050911.bb @@ -4,7 +4,8 @@ SECTION = "kernel/modules" MAINTAINER = "dyoung <dyoung@thestuffguy.com>" LICENSE = "GPL" PR = "r0" -RDEPENDS = "kernel-module-tveeprom kernel-module-tuner kernel-module-msp3400 kernel-module-saa7115" +# It in fact requires these modules, but for now is using the local ones. +# RDEPENDS = "kernel-module-tveeprom kernel-module-tuner kernel-module-msp3400 kernel-module-saa7115" SRC_URI = "http://www.isely.net/downloads/pvrusb2-mci-20050911.tar.bz2 \ file://Makefile.patch;patch=1" @@ -13,16 +14,13 @@ S = "${WORKDIR}/pvrusb2-mci-20050911/driver" inherit module -#EXTRA_OEMAKE = "CFLAGS=-I${STAGING_KERNEL_DIR}/include ${CFLAGS}" -export INCLUDES = "{KERNEL_SOURCE}/include" +CFLAGS = "'-I${KERNEL_SOURCE}/include' \ + '-D__LINUX_ARM_ARCH__=5'" -do_compile () { - unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS - oe_runmake 'KDIR=${STAGING_KERNEL_DIR}' \ - 'CFLAGS=-I${KERNEL_SOURCE}/include' \ - 'CC=${KERNEL_CC}' \ - 'LD=${KERNEL_LD}' -} +EXTRA_OEMAKE = "'CFLAGS=${CFLAGS}' \ + 'CC=${KERNEL_CC}' \ + 'LD=${KERNEL_LD}' \ + 'KDIR=${STAGING_KERNEL_DIR}'" do_install() { install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/usb/media |