diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-01-20 02:01:53 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-01-20 02:01:53 +0000 |
commit | 17126ba85f34746c5250ce9b2b18611f40a98d2c (patch) | |
tree | 26c4db5d46d3e0092b66db814fde04bca3059f59 /package/spca5xx | |
parent | 62adcb808c8ff00b33280f3df32c6af41dd1f07f (diff) |
cleanup, nuke obsolete 'Kernel drivers' category, convert remaining kmod packages to KernelPackage interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6136 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/spca5xx')
-rw-r--r-- | package/spca5xx/Makefile | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/package/spca5xx/Makefile b/package/spca5xx/Makefile index e2aebfda2..33f4ef0c4 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)) |