diff options
author | Frans Meulenbroeks <fransmeulenbroeks@yahoo.com> | 2006-04-29 10:24:52 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-04-29 10:24:52 +0000 |
commit | 5cd19f04519ac49e6bc3ebf9ac1d63a2c1f333da (patch) | |
tree | f1fd0579cc52a1714ae52ef45bcb04e95ed86241 /packages/pwc | |
parent | a645a1b3f40fbce1595b3af63ff33b82867bfa85 (diff) |
pwc: added pwc_10.0.12-rc1 release, fixed build
Diffstat (limited to 'packages/pwc')
-rw-r--r-- | packages/pwc/pwc-10.0.12-rc1/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/pwc/pwc-10.0.12-rc1/Makefile.patch | 19 | ||||
-rw-r--r-- | packages/pwc/pwc_10.0.12-rc1.bb | 33 |
3 files changed, 52 insertions, 0 deletions
diff --git a/packages/pwc/pwc-10.0.12-rc1/.mtn2git_empty b/packages/pwc/pwc-10.0.12-rc1/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/pwc/pwc-10.0.12-rc1/.mtn2git_empty diff --git a/packages/pwc/pwc-10.0.12-rc1/Makefile.patch b/packages/pwc/pwc-10.0.12-rc1/Makefile.patch new file mode 100644 index 0000000000..8bbe31b0dc --- /dev/null +++ b/packages/pwc/pwc-10.0.12-rc1/Makefile.patch @@ -0,0 +1,19 @@ +*** x/Makefile.orig 2006-03-06 08:10:37.000000000 +0100 +--- x/Makefile 2006-04-29 11:57:11.000000000 +0200 +*************** +*** 48,54 **** + + + all default: +! $(MAKE) -C $(KSRC) SUBDIRS=$(PWD) modules + + install: default + install -d $(KMISC) +--- 48,54 ---- + + + all default: +! $(MAKE) -C $(KERNEL_SOURCE) M=$(PWD) modules + + install: default + install -d $(KMISC) 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 +} |