[Bug 4086] New: linux_uvc bb file

bugzilla-daemon at treke.net bugzilla-daemon at treke.net
Sun Mar 16 17:12:42 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4086

           Summary: linux_uvc bb file
           Product: Openembedded
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Distributions
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: sip.nslu at gmail.com


Here's the linux_uvc bb file created by Stephane Gauthier for openslug.
Tested ok with Quickcam Pro 9000 UVC on NSLU.
http://tech.groups.yahoo.com/group/nslu2-developers/message/1848


DESCRIPTION = "Linux UVC driver"
PRIORITY = "optional"
SECTION = "kernel/modules"
MAINTAINER = "Stephane Gauthier <gauthier.stephane at gmail.com>"
LICENSE = "GPL"
PR = "r1"

RDEPENDS = "kernel-module-videodev kernel-module-v4l2-common
kernel-module-v4l1-compat kernel-module-compat-ioctl32"


SRC_URI =
"svn://svn.berlios.de/linux-uvc/linux-uvc;module=trunk;rev=HEAD;proto=svn"

S = "${WORKDIR}/trunk"

inherit module

do_compile () {
        unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CC LD CPP
        oe_runmake
'MODPATH={D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net' \
                   'KERNEL_SOURCE=${STAGING_KERNEL_DIR}' \
                   'KDIR=${STAGING_KERNEL_DIR}' \
                   'KERNEL_DIR=${STAGING_KERNEL_DIR}' \
                   'KERNEL_VERSION=${KERNEL_VERSION}' \
                   '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
}


-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list