GK SDK 源码库: XMIPCLinuxV100R005C00SPC030 (kernel/tools/open_source excluded)

This commit is contained in:
lai
2026-09-06 03:52:57 +08:00
commit b1928b41c0
21813 changed files with 4413081 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
ifneq ($(MCU), )
include Makefile.riscv.mk
else
include Makefile.linux.mk
endif
+26
View File
@@ -0,0 +1,26 @@
ISP_DIR := $(shell cd .. && /bin/pwd)
SDK_DIR ?= $(shell cd $(ISP_DIR)/../../../.. && /bin/pwd)
include $(SDK_DIR)/build/base.mk
ifeq ($(CONFIG_XMEDIA_SDK_LOG_MODE), log)
LIB_DIR := $(shell cd $(ISP_DIR)/libs/linux/log && /bin/pwd)
else
LIB_DIR := $(shell cd $(ISP_DIR)/libs/linux/nolog && /bin/pwd)
endif
STATIC_LIB := $(wildcard $(LIB_DIR)/*.a)
SHARE_LIB := $(wildcard $(LIB_DIR)/*.so)
.NOTPARALLEL:
.PHONY: all clean
all:
$(AT)test -d $(SDK_STATIC_LIB_DIR) || mkdir -p $(SDK_STATIC_LIB_DIR)
$(AT)test -d $(SDK_SHARE_LIB_DIR) || mkdir -p $(SDK_SHARE_LIB_DIR)
$(AT)cp $(STATIC_LIB) $(SDK_STATIC_LIB_DIR)
$(AT)cp $(SHARE_LIB) $(SDK_SHARE_LIB_DIR)
clean:
$(AT)rm -f $(STATIC_LIB:$(LIB_DIR)/%=$(SDK_STATIC_LIB_DIR)/%)
$(AT)rm -f $(SHARE_LIB:$(LIB_DIR)/%=$(SDK_SHARE_LIB_DIR)/%)
View File