summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-06-21 19:54:33 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-06-21 19:54:33 +0000
commit55373c41fb61ed35774cd3b51845af899462fc5a (patch)
treef08402bba30f14495f7d764937524f8c0c78ee58 /v4l
parent9d02784b845b5ea6fa97d0b0f76dae5948a6f80a (diff)
downloadmediapointer-dvb-s2-55373c41fb61ed35774cd3b51845af899462fc5a.tar.gz
mediapointer-dvb-s2-55373c41fb61ed35774cd3b51845af899462fc5a.tar.bz2
* Makefile:
- included a make rmmodules for removing modules from memory. it is not perfect, but helps debuging :-) * .bp/2.6/i2c-tuner: - tea filename corrected. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'v4l')
-rw-r--r--v4l/.bp/2.6/i2c-tuner2
-rw-r--r--v4l/ChangeLog10
-rw-r--r--v4l/Makefile19
3 files changed, 30 insertions, 1 deletions
diff --git a/v4l/.bp/2.6/i2c-tuner b/v4l/.bp/2.6/i2c-tuner
index de9c3fdf0..5a006911e 100644
--- a/v4l/.bp/2.6/i2c-tuner
+++ b/v4l/.bp/2.6/i2c-tuner
@@ -4,5 +4,5 @@ srcdiff tuner-simple.c drivers/media/video/tuner-simple.c
srcdiff mt20xx.c drivers/media/video/mt20xx.c
srcdiff tda8290.c drivers/media/video/tda8290.c
srcdiff tda9887.c drivers/media/video/tda9887.c
-srcdiff tea6757.c drivers/media/video/tea6757.c
+srcdiff tea5767.c drivers/media/video/tea5767.c
diff --git a/v4l/ChangeLog b/v4l/ChangeLog
index 75fff4453..2a1ef514c 100644
--- a/v4l/ChangeLog
+++ b/v4l/ChangeLog
@@ -1,3 +1,13 @@
+2005-06-21 15:45 mchehab
+ * Makefile:
+ - included a make rmmodules for removing modules from memory.
+ it is not perfect, but helps debuging :-)
+
+ * .bp/2.6/i2c-tuner:
+ - tea filename corrected.
+
+ Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
+
2005-06-21 11:58 mkrufky
* tuner-simple.c:
- forgot to remove TUNER_TENA_9533_B in one location,
diff --git a/v4l/Makefile b/v4l/Makefile
index 030c458f1..3268802f4 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -124,6 +124,8 @@ inst_cx88 := cx8800.ko cx8801.ko cx88-dvb.ko cx8802.ko
inst_cx88 += cx88-blackbird.ko cx88xx.ko
inst_saa7134 := saa6752hs.ko saa7134.ko saa7134-dvb.ko saa7134-empress.ko
+v4l_modules := $(shell lsmod|cut -d' ' -f1 ) $(patsubst %.ko,%,$(inst-m))
+
# locales seem to cause trouble sometimes.
LC_ALL = POSIX
export LC_ALL
@@ -175,6 +177,23 @@ v4l_install::
-cp -v $(inst-m) $(DEST)
/sbin/depmod -a
+rminstall:
+ -rm -r $(DEST)
+
+ -rm $(addprefix $(KDIR26)/common/, $(inst_common)) 2>/dev/null
+ -rm $(addprefix $(KDIR26)/common/, $(addsuffix .gz,$(inst_common))) 2>/dev/null
+ -rm $(addprefix $(KDIR26)/dvb/frontends/, $(inst_frontends)) 2>/dev/null
+ -rm $(addprefix $(KDIR26)/dvb/frontends/, $(addsuffix .gz,$(inst_frontends))) 2>/dev/null
+ -rm $(addprefix $(KDIR26)/video/, $(inst_video)) 2>/dev/null
+ -rm $(addprefix $(KDIR26)/video/, $(addsuffix .gz,$(inst_video))) 2>/dev/null
+ -rm $(addprefix $(KDIR26)/video/cx88/, $(inst_cx88)) 2>/dev/null
+ -rm $(addprefix $(KDIR26)/video/cx88/, $(addsuffix .gz,$(inst_cx88))) 2>/dev/null
+ -rm $(addprefix $(KDIR26)/video/saa7134/, $(inst_saa7134)) 2>/dev/null
+ -rm $(addprefix $(KDIR26)/video/saa7134/, $(addsuffix .gz,$(inst_saa7134))) 2>/dev/null
+
+rmmodules:
+ rmmod -w $(shell echo "$(v4l_modules)"|sed s,' ','\n',g|sed s,'-','_',g|sort|uniq -d)
+
clean::
-rm -f *~ *.o *.ko *.mod.c
-rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd