diff options
author | Koen Kooi <koen@openembedded.org> | 2008-11-20 10:16:07 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-11-20 10:16:07 +0100 |
commit | 060b14b399c101dae43af6ddb3823cbf31ce792e (patch) | |
tree | 3b3013edc9283a0e1b427b9130b149d5d3650f59 /packages/gspcav1 | |
parent | 902ae41ed03ee6477173888648feaf6b9836797b (diff) |
gspcav1: update to 20071224
Diffstat (limited to 'packages/gspcav1')
-rw-r--r-- | packages/gspcav1/gspcav1/Makefile-fix-cc-quoting.diff | 11 | ||||
-rw-r--r-- | packages/gspcav1/gspcav1_20071224.bb | 25 |
2 files changed, 36 insertions, 0 deletions
diff --git a/packages/gspcav1/gspcav1/Makefile-fix-cc-quoting.diff b/packages/gspcav1/gspcav1/Makefile-fix-cc-quoting.diff new file mode 100644 index 0000000000..6f04069e0f --- /dev/null +++ b/packages/gspcav1/gspcav1/Makefile-fix-cc-quoting.diff @@ -0,0 +1,11 @@ +--- /tmp/Makefile 2008-11-20 10:11:25.000000000 +0100 ++++ gspcav1-20071224/Makefile 2008-11-20 10:11:45.000000000 +0100 +@@ -41,7 +41,7 @@ + MODULE_INSTALLDIR2 = /lib/modules/$(KERNEL_VERSION)/kernel/drivers/media/video/ + + default: +- $(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) CC=$(CC) modules ++ $(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) CC="$(CC)" modules + + install: + mkdir -p $(MODULE_INSTALLDIR) diff --git a/packages/gspcav1/gspcav1_20071224.bb b/packages/gspcav1/gspcav1_20071224.bb new file mode 100644 index 0000000000..c6ab5f689e --- /dev/null +++ b/packages/gspcav1/gspcav1_20071224.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "USB Webcam driver for spca5xx chipset family supporting \ +over 100 models of camera" +PRIORITY = "optional" +SECTION = "kernel/modules" +LICENSE = "GPL" + +SRC_URI = "http://mxhaard.free.fr/spca50x/Download/gspcav1-${PV}.tar.gz \ + file://Makefile-fix-cc-quoting.diff;patch=1 \ + " + +S = "${WORKDIR}/gspcav1-${PV}" + +inherit module + +do_compile () { + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + oe_runmake 'KERNELDIR=${STAGING_KERNEL_DIR}' \ + 'CC=${KERNEL_CC}' \ + 'LD=${KERNEL_LD}' +} + +do_install() { + install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/usb/media + install -m 0644 *${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/usb/media +} |