[OpenWrt-Devel] [PATCH] package makefile for kernel module "hdpvr"
Ian Cass
ian at wheep.co.uk
Thu Jan 1 07:45:28 EST 2015
I've successfully built "hdpvr" driver for OpenWRT. The package diff is
below:-
---
/home/ian/openwrt-trunk/openwrt/package/kernel/linux/modules/video.mk.orig
2015-01-01 12:35:32.260038466 +0000
+++ /home/ian/openwrt-trunk/openwrt/package/kernel/linux/modules/video.mk
2015-01-01 12:42:25.460041447 +0000
@@ -102,6 +102,7 @@ define KernelPackage/video-core
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.6.0)),1)
FILES:= \
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-common.ko \
+ $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-dv-timings.ko \
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videodev.ko
AUTOLOAD:=$(call AutoLoad,60, videodev v4l2-common)
else
@@ -738,3 +739,19 @@ define KernelPackage/video-gspca-konica/
endef
$(eval $(call KernelPackage,video-gspca-konica))
+
+define KernelPackage/video-hdpvr
+ TITLE:=Hauppauge HD PVR device support
+ DEPENDS:=@USB_SUPPORT +kmod-usb-core
+ KCONFIG:=CONFIG_VIDEO_HDPVR
+ FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/hdpvr/hdpvr.ko
+ AUTOLOAD:=$(call Autoprobe,hdpvr)
+ $(call AddDepends/video)
+endef
+
+define KernelPackage/video-hdpvr/description
+ Kernel module for Hauppauge HD PVR device support
+endef
+
+$(eval $(call KernelPackage,video-hdpvr))
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150101/581fdf6e/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list