From: Marco Trapanese <marcotrapanese@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Help with selecting package
Date: Wed, 16 Oct 2013 09:32:37 +0200 [thread overview]
Message-ID: <525E4115.5080703@gmail.com> (raw)
In-Reply-To: <20131014184341.6ba6e0c4@skate>
> If you don't post the Config.in and .mk file of your package, there's
> nothing we can do to help you on this.
Hi Thomas,
I repost the content of the files here:
Config.in
config BR2_PACKAGE_SENSORAY2253
bool "sensoray2253"
depends on BR2_LINUX_KERNEL
depends on BR2_LIBV4L
help
Kernel module for Sensoray 2253
http://it.sensoray.com/products/2253.htm
sensoray2253.mk
################################################################################
#
# sensoray2253
#
################################################################################
SENSORAY2253_VERSION = 1.2.6
SENSORAY2253_SOURCE = sdk_x53_linux_$(SENSORAY2253_VERSION).tar.bz2
SENSORAY2253_SITE = http://it.sensoray.com/downloads/
SENSORAY2253_DEPENDENCIES = linux libv4l
define SENSORAY2253_CONFIGURE_CMDS
$(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) M=$(@D)/driver clean
endef
define SENSORAY2253_BUILD_CMDS
$(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) M=$(@D)/driver modules
endef
define SENSORAY2253_INSTALL_TARGET_CMDS
$(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) M=$(@D)/driver
modules_install
endef
$(eval $(generic-package))
sensoray2253-deprecated.patch (just few lines)
diff -purN sensoray2253-1.2.6.orig/driver/s2253.c
sensoray2253-1.2.6/driver/s2253.c
--- sensoray2253-1.2.6.orig/driver/s2253.c 2013-06-21
17:48:17.000000000 +0200
+++ sensoray2253-1.2.6/driver/s2253.c 2013-10-14 10:08:23.237612305 +0200
@@ -2498,8 +2498,8 @@ static int vidioc_queryctrl(struct file
//V4L2_CID_AUDIO_MUTE,
V4L2_CID_HFLIP,
V4L2_CID_VFLIP,
- V4L2_CID_HCENTER,
- V4L2_CID_VCENTER,
+ V4L2_CID_PAN_RESET,
+ V4L2_CID_TILT_RESET,
S2253_CID_DFLIP,
S2253_CID_INTERPOLATE,
S2253_CID_GPI,
@@ -2635,10 +2635,10 @@ ctrl_next:
case V4L2_CID_VFLIP:
v4l2_ctrl_query_fill(ctrl, 0, 1, 1, 0);
break;
- case V4L2_CID_HCENTER:
+ case V4L2_CID_PAN_RESET:
v4l2_ctrl_query_fill(ctrl, -256, 255, 1, 0);
break;
- case V4L2_CID_VCENTER:
+ case V4L2_CID_TILT_RESET:
v4l2_ctrl_query_fill(ctrl, -128, 127, 1, 0);
break;
case V4L2_CID_PRIVATE_COLORFILTER:
@@ -2856,13 +2856,13 @@ static int vidioc_try_ext_ctrls(struct f
else if (ctrl->value > 100)
next prev parent reply other threads:[~2013-10-16 7:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-14 8:29 [Buildroot] Help with selecting package Marco Trapanese
2013-10-14 9:47 ` Thomas Petazzoni
2013-10-14 10:51 ` Marco Trapanese
2013-10-14 11:47 ` Thomas Petazzoni
2013-10-14 13:10 ` Marco Trapanese
2013-10-14 14:02 ` Thomas De Schampheleire
2013-10-14 15:23 ` Marco Trapanese
2013-10-14 15:42 ` Marco Trapanese
2013-10-14 16:43 ` Thomas Petazzoni
2013-10-16 7:32 ` Marco Trapanese [this message]
2013-10-16 7:40 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=525E4115.5080703@gmail.com \
--to=marcotrapanese@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox