summaryrefslogtreecommitdiff
path: root/package/v4l-utils/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/v4l-utils/patches')
-rw-r--r--package/v4l-utils/patches/patch-Make_rules17
-rw-r--r--package/v4l-utils/patches/patch-utils_Makefile8
2 files changed, 25 insertions, 0 deletions
diff --git a/package/v4l-utils/patches/patch-Make_rules b/package/v4l-utils/patches/patch-Make_rules
new file mode 100644
index 000000000..f7bdb14f7
--- /dev/null
+++ b/package/v4l-utils/patches/patch-Make_rules
@@ -0,0 +1,17 @@
+--- v4l-utils-0.8.5.orig/Make.rules 2011-07-17 18:06:39.000000000 +0200
++++ v4l-utils-0.8.5/Make.rules 2011-09-18 20:20:32.000000000 +0200
+@@ -2,12 +2,12 @@ V4L_UTILS_VERSION=0.8.5
+
+ # These ones can be overriden from the cmdline
+
+-CFLAGS := -g -O1
++CFLAGS ?= -g -O1
+ CFLAGS += -Wall -Wpointer-arith
+ CXXFLAGS := $(CFLAGS)
+ CFLAGS += -Wstrict-prototypes -Wmissing-prototypes
+
+-PREFIX = /usr/local
++PREFIX = /usr
+ LIBDIR = $(PREFIX)/lib
+ # subdir below LIBDIR in which to install the libv4lx libc wrappers
+ LIBSUBDIR = libv4l
diff --git a/package/v4l-utils/patches/patch-utils_Makefile b/package/v4l-utils/patches/patch-utils_Makefile
new file mode 100644
index 000000000..daf4c67e9
--- /dev/null
+++ b/package/v4l-utils/patches/patch-utils_Makefile
@@ -0,0 +1,8 @@
+--- v4l-utils-0.8.5.orig/utils/Makefile 2011-07-17 18:06:39.000000000 +0200
++++ v4l-utils-0.8.5/utils/Makefile 2011-09-26 04:56:47.369377637 +0200
+@@ -1,4 +1,4 @@
+-SUBDIRS=libv4l2util libmedia_dev decode_tm6000 keytable rds v4l2-compliance v4l2-ctl v4l2-dbg v4l2-sysfs-path xc3028-firmware
++SUBDIRS=libv4l2util libmedia_dev v4l2-compliance v4l2-ctl v4l2-dbg
+
+ all install:
+ @for i in $(SUBDIRS); do \