aboutsummaryrefslogtreecommitdiffstats
path: root/package/spca5xx/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-20 02:01:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-20 02:01:53 +0000
commitc606df6563b0969de226087bebae65ee361fb5e6 (patch)
treee65c3ea88241f96b5355051aeeeee157a2578be4 /package/spca5xx/Makefile
parent146500a67cd5e334a2b08dc2edc7619538703c13 (diff)
downloadupstream-c606df6563b0969de226087bebae65ee361fb5e6.tar.gz
upstream-c606df6563b0969de226087bebae65ee361fb5e6.tar.bz2
upstream-c606df6563b0969de226087bebae65ee361fb5e6.zip
cleanup, nuke obsolete 'Kernel drivers' category, convert remaining kmod packages to KernelPackage interface
SVN-Revision: 6136
Diffstat (limited to 'package/spca5xx/Makefile')
-rw-r--r--package/spca5xx/Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/package/spca5xx/Makefile b/package/spca5xx/Makefile
index e2aebfda2e..33f4ef0c47 100644
--- a/package/spca5xx/Makefile
+++ b/package/spca5xx/Makefile
@@ -22,14 +22,14 @@ PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
-#FIXME: add proper dependency handling on kmod-usb-core & kmod-videodev packages
-define Package/kmod-spca5xx
- SECTION:=kernel
- CATEGORY:=Kernel drivers
- DEPENDS:=@PACKAGE_KMOD_USB&&PACKAGE_KMOD_VIDEODEV
+define KernelPackage/spca5xx
+ SUBMENU:=Other modules
+ DEPENDS:=kmod-usb-core kmod-videodev
TITLE:=Driver for SPCA5xx based USB cameras
URL:=http://mxhaard.free.fr/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
+ FILES:=$(PKG_BUILD_DIR)/spca5xx.$(LINUX_KMOD_SUFFIX)
+ AUTLOAD:=$(call AutoLoad,90,spca5xx)
endef
define Build/Compile
@@ -43,10 +43,4 @@ define Build/Compile
modules
endef
-define Package/kmod-spca5xx/install
- $(INSTALL_DIR) $(1)/lib/modules/$(LINUX_VERSION)
- $(CP) $(PKG_BUILD_DIR)/spca5xx.$(LINUX_KMOD_SUFFIX) \
- $(1)/lib/modules/$(LINUX_VERSION)/
-endef
-
-$(eval $(call BuildPackage,kmod-spca5xx))
+$(eval $(call KernelPackage,spca5xx))