##########################################################
# Kernel version 2.6
##########################################################
ifeq    "$(findstring 2.6, $(shell uname -a))" "2.6"
DRVDIR = drv-2.6.x
else       
##########################################################
# Kernel version 2.4
##########################################################
DRVDIR = drv-2.4.x
endif

all: module install 

module: 
	make -s -C $(DRVDIR) clean
	make -s -C $(DRVDIR) 

install:
	make -s -C $(DRVDIR) install


