ifneq ($(srctree),) KERNEL_DIR := $(srctree) SDK_DIR := $(shell cd $(KERNEL_DIR)/../../.. && /bin/pwd) else SDK_DIR := $(shell cd $(CURDIR)/../../../../.. && /bin/pwd) endif include $(SDK_DIR)/build/base.mk include $(SDK_DIR)/build/version.mk ISP_DIR := $(GMP_DIR)/drv/isp MOD_NAME := xm_isp_adp SRCS := SRCS += adp_isp.c SDK_KER_CFLAGS += -I$(GMP_DIR)/include SDK_KER_CFLAGS += -I$(GMP_DIR)/drv/include include $(SDK_DIR)/build/sdk_ko_rules.mk