projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make spca5xx depend on video device support in the kernel
[openwrt-10.03/.git]
/
package
/
spca5xx
/
Makefile
diff --git
a/package/spca5xx/Makefile
b/package/spca5xx/Makefile
index e2aebfda2e57eed388a56741183acf398b9f4339..078759bf460e4d9e834554e2e5029872023931b0 100644
(file)
--- 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
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 @VIDEO_SUPPORT
TITLE:=Driver for SPCA5xx based USB cameras
URL:=http://mxhaard.free.fr/
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
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
endef
define Build/Compile
@@
-43,10
+43,4
@@
define Build/Compile
modules
endef
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))