blob: 0e19c3ca679e753fd1656d2b558c0cb1ebacf652 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
DESCRIPTION = "USB Webcam driver for spca5xx chipset family supporting \
over 100 models of camera""
PRIORITY = "optional"
SECTION = "kernel/modules"
MAINTAINER = "dyoung <dyoung8888@yahoo.com>"
LICENSE = "GPL"
PR = "r0"
SRC_URI = "http://mxhaard.free.fr/spca50x/Download/spca5xx-20050419.tar.gz"
S = "${WORKDIR}/spca5xx-20050419"
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
}
|