You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
576 B
21 lines
576 B
include $(PROJECT_DIR)/sdkconfig
|
|
|
|
|
|
BUILD_PATH := $(BUILD_OUT_PATH)/$(shell pwd)
|
|
|
|
CSRCS_RELATIVE_FILES := fassert.c \
|
|
fdebug.c \
|
|
felf.c \
|
|
finterrupt.c \
|
|
fprintf.c \
|
|
fprintk.c \
|
|
fsleep.c \
|
|
fbitmap.c
|
|
ifdef BUILD_AMP_CORE
|
|
ifneq ($(strip $(BUILD_IMAGE_CORE_NUM)),0x1000) # 0x1000 是未定义初始化值,不为初值时有设置才会编译,会在amp_config.json中的设置对应
|
|
CSRCS_RELATIVE_FILES += fimage_info.c
|
|
MODULE_AMP_DEFINED_CFLAGS += -DCONFIG_IMAGE_CORE=$(BUILD_IMAGE_CORE_NUM)
|
|
endif
|
|
endif
|
|
|
|
include $(SDK_DIR)/tools/build/compiler.mk
|