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 | |
$(warning TARGET_DEVICE=$(TARGET_DEVICE)) | |
$(warning TARGET_BOARD_PLATFORM=$(TARGET_BOARD_PLATFORM)) | |
include $(MTK_KERNEL_MODULE) | |
endif # Kernel version matches current path |