Enable the default-on led trigger
[openwrt.git] / package / ov51x-jpeg / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=ov51x-jpeg
13 PKG_VERSION:=1.5.2
14 PKG_RELEASE:=1
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=http://www.rastageeks.org/downloads/ov51x-jpeg/
18 PKG_MD5SUM:=baee1e0a7a16772e81ea36d8b3ce6127
19
20 include $(INCLUDE_DIR)/package.mk
21
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)
30 endef
31
32 define KernelPackage/video-ov51x-jpeg/description
33 Kernel module for OV51x based USB cameras, with in-driver JPEG support.
34 endef
35
36 define Build/Compile
37 $(MAKE) -C $(LINUX_DIR) \
38 ARCH="$(LINUX_KARCH)" \
39 CROSS_COMPILE="$(TARGET_CROSS)" \
40 SUBDIRS="$(PKG_BUILD_DIR)" \
41 modules
42 endef
43
44 $(eval $(call KernelPackage,video-ov51x-jpeg))
This page took 0.041301 seconds and 5 git commands to generate.