MODULE_NAME := met | |
############################################################## | |
# Compile settings | |
############################################################## | |
all: | |
make -C $(KERNEL_OUT) M=$(MET_DRIVER_DIR) modules | |
clean: | |
make -C $(KERNEL_OUT) M=$(MET_DRIVER_DIR) clean | |
if [ -e $(MET_DRIVER_DIR)/$(MODULE_NAME).ko ]; then rm $(MET_DRIVER_DIR)/$(MODULE_NAME).ko; fi; | |
.PHONY: all clean | |