mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Adjusted the Makefile to the dvb-kernel driver on kernel 2.6 and up
This commit is contained in:
parent
2ffcc66af2
commit
70bc836e3f
@ -588,6 +588,7 @@ Lauri Tischler <lauri.tischler@efore.fi>
|
|||||||
unavailable due to a recording on a different transponder
|
unavailable due to a recording on a different transponder
|
||||||
for reporting a compiler warning about virtual cConfig::Load() functions
|
for reporting a compiler warning about virtual cConfig::Load() functions
|
||||||
for reporting a warning about character comparison in libsi/si.c
|
for reporting a warning about character comparison in libsi/si.c
|
||||||
|
for adjusting the Makefile to the dvb-kernel driver on kernel 2.6 and up
|
||||||
|
|
||||||
Andy Carter <fruit@ukgateway.net>
|
Andy Carter <fruit@ukgateway.net>
|
||||||
for helping to test new DVB-T handling
|
for helping to test new DVB-T handling
|
||||||
|
2
HISTORY
2
HISTORY
@ -3769,3 +3769,5 @@ Video Disk Recorder Revision History
|
|||||||
apparently some users actually need it. It's not active by default, you'll have
|
apparently some users actually need it. It's not active by default, you'll have
|
||||||
to define the WAIT_FOR_TUNER_LOCK macro in that file if you need it (suggested
|
to define the WAIT_FOR_TUNER_LOCK macro in that file if you need it (suggested
|
||||||
by Malcolm Caldwell).
|
by Malcolm Caldwell).
|
||||||
|
- Adjusted the Makefile to the dvb-kernel driver on kernel 2.6 and up (thanks to
|
||||||
|
Lauri Tischler).
|
||||||
|
23
INSTALL
23
INSTALL
@ -23,18 +23,21 @@ mode you want.
|
|||||||
Compiling and running the program:
|
Compiling and running the program:
|
||||||
----------------------------------
|
----------------------------------
|
||||||
|
|
||||||
Make sure the files from this package are located in a
|
VDR requires the Linux-DVB driver header files to compile.
|
||||||
directory that is "parallel" to the DVB directory of the
|
As of kernel 2.6 these are part of the official Linux kernel
|
||||||
driver source for the Siemens DVB-S PCI card (refer to
|
distribution, and VDR's Makefile will automatically locate
|
||||||
http://linuxtv.org/dvb/siemens_dvb.html for more information
|
them. If you are using kernel 2.4 or earlier, you should
|
||||||
about that driver). For example, if the DVB driver was
|
install the files from this package in a directory that is
|
||||||
extracted into the directory /home/kls/vdr/DVB, then this
|
"parallel" to the DVB directory of the driver source (refer to
|
||||||
package should be extracted into /home/kls/vdr/VDR.
|
http://linuxtv.org for more information about that driver).
|
||||||
|
For example, if the DVB driver was extracted into the directory
|
||||||
|
/home/kls/vdr/DVB, then this package should be extracted into
|
||||||
|
/home/kls/vdr/VDR.
|
||||||
If you have the DVB driver source in a different location
|
If you have the DVB driver source in a different location
|
||||||
you will have to change the definition of DVBDIR in the
|
you can rename the file Make.config.template to Make.config and
|
||||||
Makefile (see the file Make.config.template).
|
adjust the definition of DVBDIR in that file.
|
||||||
|
|
||||||
VDR requires the Linux-DVB card driver version dated 2003-08-23 or higher
|
VDR requires the Linux-DVB driver version dated 2003-08-23 or higher
|
||||||
to work properly.
|
to work properly.
|
||||||
|
|
||||||
After extracting the package, change into the VDR directory
|
After extracting the package, change into the VDR directory
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# See the main source file 'vdr.c' for copyright information and
|
# See the main source file 'vdr.c' for copyright information and
|
||||||
# how to reach the author.
|
# how to reach the author.
|
||||||
#
|
#
|
||||||
# $Id: Make.config.template 1.5 2005/07/31 11:35:28 kls Exp $
|
# $Id: Make.config.template 1.6 2005/09/02 14:24:31 kls Exp $
|
||||||
|
|
||||||
### The C compiler and options:
|
### The C compiler and options:
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ CXXFLAGS = -fPIC -g -O2 -Wall -Woverloaded-virtual
|
|||||||
|
|
||||||
### The directory environment:
|
### The directory environment:
|
||||||
|
|
||||||
DVBDIR = ../DVB
|
#DVBDIR = ../DVB
|
||||||
MANDIR = /usr/local/man
|
MANDIR = /usr/local/man
|
||||||
BINDIR = /usr/local/bin
|
BINDIR = /usr/local/bin
|
||||||
|
|
||||||
|
11
Makefile
11
Makefile
@ -4,7 +4,7 @@
|
|||||||
# See the main source file 'vdr.c' for copyright information and
|
# See the main source file 'vdr.c' for copyright information and
|
||||||
# how to reach the author.
|
# how to reach the author.
|
||||||
#
|
#
|
||||||
# $Id: Makefile 1.78 2005/09/02 13:37:51 kls Exp $
|
# $Id: Makefile 1.79 2005/09/02 14:23:38 kls Exp $
|
||||||
|
|
||||||
.DELETE_ON_ERROR:
|
.DELETE_ON_ERROR:
|
||||||
|
|
||||||
@ -14,7 +14,16 @@ CFLAGS ?= -O2
|
|||||||
CXX ?= g++
|
CXX ?= g++
|
||||||
CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual
|
CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual
|
||||||
|
|
||||||
|
LINUX_VERSION := $(shell uname -r | cut -c-3)
|
||||||
|
LINUX := $(shell uname -r)
|
||||||
|
DVBDIR := /lib/modules/$(LINUX)/build
|
||||||
|
ifeq ($(LINUX_VERSION), 2.4)
|
||||||
DVBDIR = ../DVB
|
DVBDIR = ../DVB
|
||||||
|
endif
|
||||||
|
ifeq ($(LINUX_VERSION), 2.2)
|
||||||
|
DVBDIR = ../DVB
|
||||||
|
endif
|
||||||
|
|
||||||
LSIDIR = ./libsi
|
LSIDIR = ./libsi
|
||||||
MANDIR = /usr/local/man
|
MANDIR = /usr/local/man
|
||||||
BINDIR = /usr/local/bin
|
BINDIR = /usr/local/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user