2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
10 include $(INCLUDE_DIR
)/kernel.mk
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=http
://mxhaard.free.fr
/spca50x
/Download
18 PKG_MD5SUM
:=14853ba1f4edc1e685039fca56e5ebf
20 include $(INCLUDE_DIR
)/package.mk
22 define KernelPackage
/video-gspca
23 SUBMENU
:=Video Support
24 TITLE
:=SPCA5xx based USB webcam support
25 URL
:=http
://mxhaard.free.fr
/
26 DEPENDS
:=@LINUX_2_6 @USB_SUPPORT
+kmod-usb-core kmod-video-core
27 FILES
:=$(PKG_BUILD_DIR
)/gspca.
$(LINUX_KMOD_SUFFIX
)
28 AUTOLOAD
:=$(call AutoLoad
,90,gspca
)
32 $(MAKE
) -C
$(LINUX_DIR
) \
33 ARCH
="$(LINUX_KARCH)" \
34 CROSS_COMPILE
="$(TARGET_CROSS)" \
35 SUBDIRS
="$(PKG_BUILD_DIR)" \
39 $(eval
$(call KernelPackage
,video-gspca
))