remove hacks to disable modules on some targets now that we do have proper PCI &...
[openwrt.git] / package / nw802-2.4 / Makefile
1 #
2 # Copyright (C) 2006-2008 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:=nw802-2.4
13 PKG_VERSION:=0.0.99
14 PKG_RELEASE:=1
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
17 PKG_SOURCE_URL:=@SF/nw802
18 PKG_MD5SUM:=bf3512efaa48cfa972b16318011c1963
19
20 include $(INCLUDE_DIR)/package.mk
21
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)
29 endef
30
31 define KernelPackage/video-nw8xx/description
32 Kernel support for NW8xx based USB cameras.
33 endef
34
35 define Build/Compile
36 ln -sf $(LINUX_DIR)/drivers/media/video/usbvideo/usbvideo.h \
37 $(PKG_BUILD_DIR)/
38 $(MAKE) -C $(LINUX_DIR) \
39 ARCH="$(LINUX_KARCH)" \
40 CROSS_COMPILE="$(TARGET_CROSS)" \
41 SUBDIRS="$(PKG_BUILD_DIR)" \
42 modules
43 endef
44
45 $(eval $(call KernelPackage,video-nw8xx))
This page took 0.041049 seconds and 5 git commands to generate.