GK SDK 源码库: XMIPCLinuxV100R005C00SPC030 (kernel/tools/open_source excluded)
This commit is contained in:
Executable
+22
@@ -0,0 +1,22 @@
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user