From 414bc92dea59804e639cc713ed45338b4e1f80f7 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 2 Jun 2007 14:51:00 +0000 Subject: [PATCH] Use the in-kernel pwc driver, no need to maintain it externally SVN-Revision: 7450 --- package/kernel/modules/usb.mk | 3 ++ package/pwc/Makefile | 44 ----------------------- package/pwc/files/pwc.modules | 1 - package/pwc/patches/100-compile_fix.patch | 24 ------------- 4 files changed, 3 insertions(+), 69 deletions(-) delete mode 100644 package/pwc/Makefile delete mode 100644 package/pwc/files/pwc.modules delete mode 100644 package/pwc/patches/100-compile_fix.patch diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index 66425c0457..7ac43c8f0c 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 e92b98ba86..0000000000 --- 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 fd02551621..0000000000 --- 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 fc12c75ad8..0000000000 --- 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 -+#include - #include - #include - #include -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 -+#include - - #include "pwc-ioctl.h" -