Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: linuxtv-dvb-install-destdir.patch




Johannes Stezenbach wrote:
Guido Draheim wrote:

The patch puts in a `make install-destdir` target which does
also handle the usual DESTDIR variable for the staging area.

I would rather replace the ill-defined "install" target
with your sane definition.


Btw, when not downloading the dvb-ttpci firmware, there is a
*.txt file being put into the modules area which makes depmod
unhappy but it seems to get over with it. Can that be cut out
from the original `install`? Anyway, at the moment, the rpm
_includes_ the firmware - is that correct measure?

You have permission to include the dvb-ttpci-01.fw firmware.
The various frontend firmwares are problematic.
great! I'll add a hint in my rpm .spec about that fact.


--- build-2.4/Makefile.orig	2004-01-26 11:47:03.000000000 +0100
+++ build-2.4/Makefile	2004-02-13 21:21:31.000000000 +0100
@@ -87,6 +87,8 @@
	@echo
	@echo --------------------------------------------------------------------------------------
	-su -c "mkdir -p $(DEST); cp -v $(obj-m) $(DEST); depmod -a ; sh ../MAKEDEV-DVB.sh"
+install-destdir :
+	mkdir -p $(DESTDIR)$(DEST); cp -v $(obj-m) $(DESTDIR)$(DEST)

clean::
	find . -type l -exec rm {} \;

Modified patch applied.

BTW, build-2.6 "install" could need a patch, too.

hehe, because `make install` is a dummy in there *lol* well, actually
things a lil' more complicated since dvb drivers are already included.
As soon as i go about mdk10.0 (based on linux 2.6.2) I'll check how
to backup old drivers and install new stuff. AFAICS, one would just
add the very same as it is in your build-2.4/Makefile modification

install:
        mkdir -p $(DESTDIR)$(DEST); cp -v $(obj-m) $(DESTDIR)$(DEST)


--
-- guido                                  http://google.de/search?q=guidod
GCS/E/S/P C++/++++$ ULHS L++w- N++@ s+:a d(+-) r+@>+++ y++ 5++X- (geekcode)



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index