diff options
Diffstat (limited to 'v4l')
-rw-r--r-- | v4l/ChangeLog | 6 | ||||
-rw-r--r-- | v4l/Makefile | 16 |
2 files changed, 21 insertions, 1 deletions
diff --git a/v4l/ChangeLog b/v4l/ChangeLog index 7623a5c7b..8d6c189f2 100644 --- a/v4l/ChangeLog +++ b/v4l/ChangeLog @@ -1,3 +1,9 @@ +2005-06-19 13:45 mchehab + * Makefile: + + - make install now remove old installs at /lib/modules/<kern ver>/v4l + - make v4l_install now remove kernel modules + 2005-06-19 11:43 nshmyrev * saa7134-cards.c, saa7134.h: diff --git a/v4l/Makefile b/v4l/Makefile index 807a39a91..030c458f1 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -155,11 +155,25 @@ install:: -rm $(addprefix $(KDIR26)/video/saa7134/, $(addsuffix .gz,$(inst_saa7134))) 2>/dev/null -install -m 644 -c $(inst_saa7134) $(KDIR26)/video/saa7134 + -rm -r $(DEST) + /sbin/depmod -a v4l_install:: strip --strip-debug $(inst-m) - -su -c "mkdir -p $(DEST); cp -v $(inst-m) $(DEST); depmod -a" + -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 + -mkdir -p $(DEST) + -cp -v $(inst-m) $(DEST) + /sbin/depmod -a clean:: -rm -f *~ *.o *.ko *.mod.c |