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
+24
View File
@@ -0,0 +1,24 @@
SDK_DIR ?= $(shell cd $(CURDIR)/../../../.. && /bin/pwd)
include $(SDK_DIR)/build/base.mk
PM_ROOT_USR := $(GMP_DIR)/usr/pm
PM_ROOT_DRV := $(GMP_DIR)/drv/pm
LIB_NAME := libxmedia_pm
SRCS := $(wildcard ./*.c)
SDK_USR_CFLAGS += -I$(GMP_DIR)/include \
-I$(PM_ROOT_USR) \
-I$(PM_ROOT_DRV)/include \
-I$(GMP_DIR)/drv/include \
-I$(GMP_DIR)/usr/include \
-I$(GMP_DIR)/drv/osal/include
SDK_USR_CFLAGS += -DUSER_BIT_32 -DKERNEL_BIT_32 -Wno-date-time -D_GNU_SOURCE
SDK_USR_CFLAGS += -DAMP_NONSECURE_VERSION
SDK_USR_CFLAGS += -DCHIP_TYPE_$(CHIPARCH)
include $(SDK_DIR)/build/sdk_lib_rules.mk