2 # Copyright (C) 2007 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
://www.rastageeks.org
/downloads
/ov51x-jpeg
/
18 PKG_MD5SUM
:=baee1e0a7a16772e81ea36d8b3ce6127
20 include $(INCLUDE_DIR
)/package.mk
22 # XXX: remove @!TARGET_* later when we have USB support properly detected on all targets
23 define KernelPackage
/video-ov51x-jpeg
24 SUBMENU
:=Video Support
25 TITLE
:=OV51x based USB webcam support
(JPEG
)
26 URL
:=http
://www.rastageeks.org
/ov51x-jpeg
/
27 DEPENDS
:=@LINUX_2_6 @USB_SUPPORT
+kmod-usb-core kmod-video-core @
!TARGET_atheros @
!TARGET_uml
28 FILES
:=$(PKG_BUILD_DIR
)/ov51x-jpeg.
$(LINUX_KMOD_SUFFIX
)
29 AUTOLOAD
:=$(call AutoLoad
,70,ov51x-jpeg
)
32 define KernelPackage
/video-ov51x-jpeg
/description
33 Kernel module for OV51x based USB cameras
, with in-driver JPEG support.
37 $(MAKE
) -C
$(LINUX_DIR
) \
38 ARCH
="$(LINUX_KARCH)" \
39 CROSS_COMPILE
="$(TARGET_CROSS)" \
40 SUBDIRS
="$(PKG_BUILD_DIR)" \
44 $(eval
$(call KernelPackage
,video-ov51x-jpeg
))