summaryrefslogtreecommitdiff
path: root/packages/pwc/pwc_10.0.12-rc1.bb
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>2006-04-29 10:24:52 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-29 10:24:52 +0000
commit5cd19f04519ac49e6bc3ebf9ac1d63a2c1f333da (patch)
treef1fd0579cc52a1714ae52ef45bcb04e95ed86241 /packages/pwc/pwc_10.0.12-rc1.bb
parenta645a1b3f40fbce1595b3af63ff33b82867bfa85 (diff)
pwc: added pwc_10.0.12-rc1 release, fixed build
Diffstat (limited to 'packages/pwc/pwc_10.0.12-rc1.bb')
-rw-r--r--packages/pwc/pwc_10.0.12-rc1.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/packages/pwc/pwc_10.0.12-rc1.bb b/packages/pwc/pwc_10.0.12-rc1.bb
new file mode 100644
index 0000000000..84777d4fd3
--- /dev/null
+++ b/packages/pwc/pwc_10.0.12-rc1.bb
@@ -0,0 +1,33 @@
+DESCRIPTION = "Philips USB Webcam driver for Linux that supports VGA resolution"
+HOMEPAGE = "http://www.saillard.org/linux/pwc"
+PRIORITY = "optional"
+SECTION = "kernel/modules"
+MAINTAINER = "eFfeM <fransmeulenbroeks at yahoo dot com>"
+LICENSE = "GPL"
+PR = "r0"
+
+SRC_URI = "http://www.saillard.org/linux/pwc/files/pwc-${PV}.tar.bz2 \
+ file://Makefile.patch;patch=1"
+
+S = "${WORKDIR}/pwc-${PV}"
+
+inherit module
+
+CFLAGS = "'-I${KERNEL_SOURCE}/include' "
+
+CFLAGS_append_arm = " '-D__LINUX_ARM_ARCH__=5' "
+
+CFLAGS_append_armeb = " '-D__LINUX_ARM_ARCH__=5' "
+
+EXTRA_OEMAKE = "'V=1' 'CFLAGS=${CFLAGS}' \
+ 'CC=${KERNEL_CC}' \
+ 'LD=${KERNEL_LD}' \
+ 'KDIR=${STAGING_KERNEL_DIR}'"
+
+export TARGET_LDFLAGS = "-L${STAGING_DIR}/${TARGET_SYS}/lib \
+ -rpath-link ${STAGING_DIR}/${TARGET_SYS}/lib"
+
+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
+}