airlink generation fix, thanks st9_
[openwrt.git] / package / pwc / Makefile
1 #
2 # Copyright (C) 2006 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:=pwc
13 PKG_VERSION:=10.0.12-rc1
14 PKG_RELEASE:=1
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
17 PKG_SOURCE_URL:=http://www.saillard.org/linux/pwc/files/
18 PKG_MD5SUM:=8763f3d6fd0f9738ef9854de205a126d
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define KernelPackage/pwc
23 TITLE:=USB Philips camera driver
24 DESCRIPTION:=Kernel support for USB Philips camera
25 SUBMENU:=USB Support
26 DEPENDS:=@BROKEN @LINUX_2_6 @VIDEO_SUPPORT
27 VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
28 FILES:=$(PKG_BUILD_DIR)/pwc.$(LINUX_KMOD_SUFFIX)
29 AUTOLOAD:=$(call AutoLoad,70,$(shell cat ./files/pwc.modules))
30 endef
31
32 define Build/Compile
33 $(MAKE) -C $(LINUX_DIR) \
34 PATH="$(TARGET_PATH)" \
35 KVER="$(LINUX_VERSION)" \
36 KSRC="$(LINUX_DIR)" \
37 SUBDIRS="$(PKG_BUILD_DIR)" \
38 KERNEL_DIR="$(KERNEL_DIR)" \
39 ARCH="$(LINUX_KARCH)" \
40 CROSS_COMPILE="$(TARGET_CROSS)" \
41 modules
42 endef
43
44 $(eval $(call KernelPackage,pwc))
This page took 0.059405 seconds and 5 git commands to generate.