2 # Copyright (C) 2006 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
13 PKG_VERSION
:=10.0.12-rc1
16 PKG_BUILD_DIR
:=$(KERNEL_BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
18 PKG_SOURCE_URL
:=http
://www.saillard.org
/linux
/pwc
/files
/
19 PKG_MD5SUM
:=8763f3d6fd0f9738ef9854de205a126d
22 include $(INCLUDE_DIR
)/package.mk
24 define KernelPackage
/pwc
25 TITLE
:=USB Philips camera driver
26 DESCRIPTION
:=Kernel support for USB Philips camera
28 DEPENDS
:=@BROKEN @LINUX_2_6 @VIDEO_SUPPORT
29 VERSION
:=$(LINUX_VERSION
)+$(PKG_VERSION
)-$(BOARD
)-$(PKG_RELEASE
)
30 FILES
:=$(PKG_BUILD_DIR
)/pwc.
$(LINUX_KMOD_SUFFIX
)
31 AUTOLOAD
:=$(call AutoLoad
,70,$(shell cat .
/files
/pwc.modules
))
35 $(MAKE
) -C
$(LINUX_DIR
) \
36 PATH
="$(TARGET_PATH)" \
37 KVER
="$(LINUX_VERSION)" \
39 SUBDIRS
="$(PKG_BUILD_DIR)" \
40 KERNEL_DIR
="$(KERNEL_DIR)" \
41 ARCH
="$(LINUX_KARCH)" \
42 CROSS_COMPILE
="$(TARGET_CROSS)" \
46 $(eval
$(call KernelPackage
,pwc
))