[ANNOUNCE] VDR developer version 1.3.31

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

 



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



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux