LOCAL_PATH := $(call my-dir) | |
ifneq (,$(filter $(word 2,$(subst -, ,$(LINUX_KERNEL_VERSION))),$(subst /, ,$(LOCAL_PATH)))) | |
include $(CLEAR_VARS) | |
LOCAL_MODULE := met.ko | |
LOCAL_STRIP_MODULE := true | |
MET_DRIVER_DIR := $(LOCAL_PATH) | |
include $(MTK_KERNEL_MODULE) | |
endif # Kernel version matches current path |