DRIVER_PATH:=driver/kernel2.6
KERNEL_VERSION_MAJOR_NUMBER:=$(shell uname -r | cut -f1 -d.)
KERNEL_VERSION_MINOR_NUMBER:=$(shell uname -r | cut -f2 -d.)
ifeq ("$(KERNEL_VERSION_MAJOR_NUMBER)","2")
ifeq ("$(KERNEL_VERSION_MINOR_NUMBER)","4")
DRIVER_PATH:=driver/kernel2.4
endif
endif

all: driver_make

driver_make:
	@cd ${DRIVER_PATH};\
	make -s

install:
	@cd ${DRIVER_PATH};\
	make install -s

clean:
	@cd ${DRIVER_PATH};\
	make clean -s

remove:
	@cd ${DRIVER_PATH};\
	make remove -s
