summaryrefslogtreecommitdiff
path: root/recipes/qc-usb/qc-usb-messenger_1.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/qc-usb/qc-usb-messenger_1.1.bb')
-rw-r--r--recipes/qc-usb/qc-usb-messenger_1.1.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/qc-usb/qc-usb-messenger_1.1.bb b/recipes/qc-usb/qc-usb-messenger_1.1.bb
new file mode 100644
index 0000000000..19f0e766ff
--- /dev/null
+++ b/recipes/qc-usb/qc-usb-messenger_1.1.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "Driver for QuickCam Messenger and Communicate usb cameras"
+PRIORITY = "optional"
+SECTION = "kernel/modules"
+LICENSE = "GPL"
+PR = "r1"
+
+SRC_URI = "http://home.mag.cx/messenger/source/${PN}-${PV}.tar.gz"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+inherit module
+
+do_compile () {
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CC LD CPP
+ oe_runmake 'KSRC=${STAGING_KERNEL_DIR}' \
+ 'KDIR=${STAGING_KERNEL_DIR}' \
+ 'CC="${KERNEL_CC}"' \
+ 'LD="${KERNEL_LD}"' \
+ 'LINUX_DIR=${STAGING_KERNEL_DIR}' \
+ all
+}
+
+do_install() {
+ install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/misc
+ install -m 0644 *${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/misc
+}