summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
Diffstat (limited to 'v4l')
-rw-r--r--v4l/ChangeLog10
-rw-r--r--v4l/Makefile8
-rw-r--r--v4l/scripts/merge-trees.sh9
-rw-r--r--v4l/scripts/unmerge-trees.sh9
4 files changed, 30 insertions, 6 deletions
diff --git a/v4l/ChangeLog b/v4l/ChangeLog
index 5140dfe9a..209fcd447 100644
--- a/v4l/ChangeLog
+++ b/v4l/ChangeLog
@@ -1,5 +1,11 @@
-2005-07-28 18:29 mchehab
+2005-07-29 05:10 mkrufky
+ * Makefile, scripts/merge-trees.sh, scripts/unmerge-trees.sh:
+ - Include logic to detect merged dvb/v4l cvs trees using
+ tree merging scripts, adding DVB_CVS to EXTRA_CFLAGS.
+
+ Signed-off-by: Michael Krufky <mkrufky@m1k.net>
+2005-07-28 18:29 mchehab
* bttv-cards.c, bttv.h, doc/CARDLIST.bttv:
- tuner_addr added.
- Added support for Acorp Y878F card.
@@ -55,7 +61,7 @@
* Makefile:
- Include logic to detect compilation against -mm kernels,
adding MM_KERNEL to EXTRA_CFLAGS. This test will be available
- in -mm kernels AFTER (but not including) 2.6.13-rc3-mm1.
+ in -mm kernels 2.6.13-rc3-mm2 and later.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
diff --git a/v4l/Makefile b/v4l/Makefile
index 1da3d55b8..77e07570c 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -93,6 +93,14 @@ SNAPSHOT_CFLAGS := -DSNAPSHOT='$(shell cat $(snapshot))'
EXTRA_CFLAGS += $(SNAPSHOT_CFLAGS)
endif
+dvb-cvs := $(wildcard $(obj)/.dvb)
+ifneq ($(dvb-cvs),)
+DVB_CVS_CFLAGS := -DDVB_CVS=$(shell cat $(dvb-cvs) 2> /dev/null)
+ifneq ($(DVB_CVS_CFLAGS),)
+EXTRA_CFLAGS += $(DVB_CVS_CFLAGS)
+endif
+endif
+
mm-kernel := $(TOPDIR)/.mm
ifneq ($(mm-kernel),)
MM_KERNEL_CFLAGS := -DMM_KERNEL=$(shell cat $(mm-kernel) 2> /dev/null)
diff --git a/v4l/scripts/merge-trees.sh b/v4l/scripts/merge-trees.sh
index b538c26b1..631d3bdf0 100644
--- a/v4l/scripts/merge-trees.sh
+++ b/v4l/scripts/merge-trees.sh
@@ -28,7 +28,7 @@ patch -p1 <<'DIFF'
# 2.6-only stuff
ifeq ($(VERSION).$(PATCHLEVEL),2.6)
-@@ -131,6 +131,7 @@ ifeq ($(inst-m),)
+@@ -139,6 +139,7 @@ ifeq ($(inst-m),)
endif
inst_common := ir-common.ko
@@ -36,7 +36,7 @@ patch -p1 <<'DIFF'
inst_video := btcx-risc.ko bttv.ko tda9887.ko tuner.ko tvaudio.ko tveeprom.ko
inst_video += tvmixer.ko v4l1-compat.ko v4l2-common.ko
inst_video += video-buf.ko video-buf-dvb.ko
-@@ -157,6 +158,9 @@ install:: rminstall
+@@ -165,6 +166,9 @@ install:: rminstall
-install -d $(KDIR26)/common
-install -m 644 -c $(inst_common) $(KDIR26)/common
@@ -74,3 +74,8 @@ diff -upr video4linux.orig/saa7134-dvb.c video4linux/saa7134-dvb.c
#include "saa7134-reg.h"
#include "saa7134.h"
+diff -puN /dev/null .dvb
+--- /dev/null 2003-09-15 06:40:47.000000000 -0700
++++ video4linux/.dvb 2005-07-26 18:19:02.000000000 -0700
+@@ -0,0 +1 @@
++1
diff --git a/v4l/scripts/unmerge-trees.sh b/v4l/scripts/unmerge-trees.sh
index 84061fae7..e82662115 100644
--- a/v4l/scripts/unmerge-trees.sh
+++ b/v4l/scripts/unmerge-trees.sh
@@ -30,7 +30,7 @@ video4linux.orig/Makefile
# 2.6-only stuff
ifeq ($(VERSION).$(PATCHLEVEL),2.6)
-@@ -131,7 +131,6 @@ ifeq ($(inst-m),)
+@@ -139,7 +139,6 @@ ifeq ($(inst-m),)
endif
inst_common := ir-common.ko
@@ -38,7 +38,7 @@ video4linux.orig/Makefile
inst_video := btcx-risc.ko bttv.ko tda9887.ko tuner.ko tvaudio.ko tveeprom.ko
inst_video += tvmixer.ko v4l1-compat.ko v4l2-common.ko
inst_video += video-buf.ko video-buf-dvb.ko
-@@ -158,9 +157,6 @@ install:: rminstall
+@@ -166,9 +165,6 @@ install:: rminstall
-install -d $(KDIR26)/common
-install -m 644 -c $(inst_common) $(KDIR26)/common
@@ -76,3 +76,8 @@ diff -upr video4linux/saa7134-dvb.c video4linux.orig/saa7134-dvb.c
#include "saa7134-reg.h"
#include "saa7134.h"
+diff -uprN video4linux/.dvb /dev/null
+--- video4linux/.dvb 2005-07-29 00:59:17.000000000 +0000
++++ /dev/null 1970-01-01 00:00:00.000000000 +0000
+@@ -1 +0,0 @@
+-1