compile_path:=$(lastword $(MAKEFILE_LIST))
compile_path:=$(shell dirname $(compile_path))

$(obj)/ledkernel.o:
	cp $(compile_path)/ledkernel.o_save $(compile_path)/ledkernel.o

ifeq ("$(strip $(KERNEL_VERSION))","2.6.30")  
obj-y := ledkernel.o
endif

EXTRA_CFLAGS += -I$(INC_DRIVER_VENDOR_DIR) 

clean:
	rm -f core *.o *.a *.s