diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-06-02 14:51:00 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-06-02 14:51:00 +0000 |
commit | ddb57e0d8e08a1430e79962af1a255f67c59d652 (patch) | |
tree | 5105210b62bf0a38658a6a4855524804c3dbeb22 | |
parent | 1daccd1cf7dfe39a548a6d432973b69602bba4f8 (diff) |
Use the in-kernel pwc driver, no need to maintain it externally
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7450 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/kernel/modules/usb.mk | 3 | ||||
-rw-r--r-- | package/pwc/Makefile | 44 | ||||
-rw-r--r-- | package/pwc/files/pwc.modules | 1 | ||||
-rw-r--r-- | package/pwc/patches/100-compile_fix.patch | 24 |
4 files changed, 3 insertions, 69 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index 66425c045..7ac43c8f0 100644 --- a/package/kernel/modules/usb.mk +++ b/package/kernel/modules/usb.mk @@ -306,6 +306,9 @@ define KernelPackage/usb-pwc/2.4 FILES:=$(LINUX_DIR)/drivers/usb/pwc.$(LINUX_KMOD_SUFFIX) endef +define KernelPackage/usb-pwc/2.6 + FILES:=$(LINUX_DIR)/drivers/usb/media/pwc/pwc.$(LINUX_KMOD_SUFFIX) +endef $(eval $(call KernelPackage,usb-pwc)) define KernelPackage/usb-net diff --git a/package/pwc/Makefile b/package/pwc/Makefile deleted file mode 100644 index e92b98ba8..000000000 --- a/package/pwc/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# -# Copyright (C) 2006 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# -# $Id$ - -include $(TOPDIR)/rules.mk -include $(INCLUDE_DIR)/kernel.mk - -PKG_NAME:=pwc -PKG_VERSION:=10.0.12-rc1 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=http://www.saillard.org/linux/pwc/files/ -PKG_MD5SUM:=8763f3d6fd0f9738ef9854de205a126d - -include $(INCLUDE_DIR)/package.mk - -define KernelPackage/pwc - TITLE:=USB Philips camera driver - DESCRIPTION:=Kernel support for USB Philips camera - SUBMENU:=USB Support - DEPENDS:=@BROKEN @LINUX_2_6 @VIDEO_SUPPORT - VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE) - FILES:=$(PKG_BUILD_DIR)/pwc.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,70,$(shell cat ./files/pwc.modules)) -endef - -define Build/Compile - $(MAKE) -C $(LINUX_DIR) \ - PATH="$(TARGET_PATH)" \ - KVER="$(LINUX_VERSION)" \ - KSRC="$(LINUX_DIR)" \ - SUBDIRS="$(PKG_BUILD_DIR)" \ - KERNEL_DIR="$(KERNEL_DIR)" \ - ARCH="$(LINUX_KARCH)" \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - modules -endef - -$(eval $(call KernelPackage,pwc)) diff --git a/package/pwc/files/pwc.modules b/package/pwc/files/pwc.modules deleted file mode 100644 index fd0255162..000000000 --- a/package/pwc/files/pwc.modules +++ /dev/null @@ -1 +0,0 @@ -pwc diff --git a/package/pwc/patches/100-compile_fix.patch b/package/pwc/patches/100-compile_fix.patch deleted file mode 100644 index fc12c75ad..000000000 --- a/package/pwc/patches/100-compile_fix.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -ur pwc.old/pwc.h pwc.dev/pwc.h ---- pwc.old/pwc.h 2006-04-13 23:38:43.000000000 +0200 -+++ pwc.dev/pwc.h 2007-01-22 02:04:03.872800960 +0100 -@@ -25,7 +25,7 @@ - #ifndef PWC_H - #define PWC_H - --#include <linux/config.h> -+#include <linux/autoconf.h> - #include <linux/module.h> - #include <linux/usb.h> - #include <linux/spinlock.h> -diff -ur pwc.old/pwc-uncompress.h pwc.dev/pwc-uncompress.h ---- pwc.old/pwc-uncompress.h 2006-01-07 12:57:47.000000000 +0100 -+++ pwc.dev/pwc-uncompress.h 2007-01-22 02:04:18.129633592 +0100 -@@ -30,7 +30,7 @@ - #ifndef PWC_UNCOMPRESS_H - #define PWC_UNCOMPRESS_H - --#include <linux/config.h> -+#include <linux/autoconf.h> - - #include "pwc-ioctl.h" - |