rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | MODULE_NAME := met |
2 | |||||
3 | ############################################################## | ||||
4 | # Compile settings | ||||
5 | ############################################################## | ||||
6 | all: | ||||
7 | make -C $(KERNEL_OUT) M=$(MET_DRIVER_DIR) modules | ||||
8 | |||||
9 | clean: | ||||
10 | make -C $(KERNEL_OUT) M=$(MET_DRIVER_DIR) clean | ||||
11 | if [ -e $(MET_DRIVER_DIR)/$(MODULE_NAME).ko ]; then rm $(MET_DRIVER_DIR)/$(MODULE_NAME).ko; fi; | ||||
12 | |||||
13 | .PHONY: all clean | ||||
14 | |||||
15 |