2 # Copyright (C) 2006-2008 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.bz2
17 PKG_SOURCE_URL
:=@SF
/nw802
18 PKG_MD5SUM
:=bf3512efaa48cfa972b16318011c1963
20 include $(INCLUDE_DIR
)/package.mk
22 define KernelPackage
/video-nw8xx
23 SUBMENU
:=Video Support
24 TITLE
:=NW8xx based USB webcam support
25 URL
:=http
://nw802.sourceforge.net
/
26 DEPENDS
:=@LINUX_2_6 @USB_SUPPORT
+kmod-usb-video kmod-video-core
27 FILES
:=$(PKG_BUILD_DIR
)/nw8xx.
$(LINUX_KMOD_SUFFIX
)
28 AUTOLOAD
:=$(call AutoLoad
,70,nw8xx
)
31 define KernelPackage
/video-nw8xx
/description
32 Kernel support for NW8xx based USB cameras.
36 ln
-sf
$(LINUX_DIR
)/drivers
/media
/video
/usbvideo
/usbvideo.h \
38 $(MAKE
) -C
$(LINUX_DIR
) \
39 ARCH
="$(LINUX_KARCH)" \
40 CROSS_COMPILE
="$(TARGET_CROSS)" \
41 SUBDIRS
="$(PKG_BUILD_DIR)" \
45 $(eval
$(call KernelPackage
,video-nw8xx
))