[vdr] [ANNOUNCE] VDR developer version 1.3.31

Carsten Koch Carsten.Koch at icem.com
Wed Aug 31 12:00:06 CEST 2005


Lauri Tischler wrote:
...
>> Ugly, very ugly - requires an extra file...
> 
> 
> Yeah, I'm too dumb  :(
> Any Makefile gurus around ?

LINUX_VERSION:=$(shell uname -r | cut -c-3)

DVBDIR:=lib/modules/`uname -r`/build
ifeq ($(LINUX_VERSION), 2.4)
    DVBDIR=../DVB
endif

ifeq ($(LINUX_VERSION), 2.2)
    DVBDIR=../DVB
endif

...



More information about the vdr mailing list