[vdr] [ANNOUNCE] VDR developer version 1.3.31
Lauri Tischler
lwgt at iki.fi
Wed Aug 31 13:27:52 CEST 2005
Carsten Koch wrote:
> 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
Not quite..
LINUX_VERSION:=$(shell uname -r | cut -c-3)
LINUX:=$(shell uname -r)
DVBDIR:=/lib/modules/$(LINUX)/build
ifeq ($(LINUX_VERSION), 2.4)
DVBDIR=../DVB
endif
ifeq ($(LINUX_VERSION), 2.2)
DVBDIR=../DVB
endif
More information about the vdr
mailing list