48 lines
1.8 KiB
Plaintext
48 lines
1.8 KiB
Plaintext
# ==============================================================================
|
||
# ecs_rfm0 makefile
|
||
#FileName: makefile.ecs_rfm0
|
||
#Author: xianfeng.du
|
||
#Data: 2022-08-10
|
||
#Description: ecs_rfm0 top makefile
|
||
# ==============================================================================
|
||
VERSION = 1.00
|
||
|
||
# ==============================================================================
|
||
# include common makefile Rules
|
||
# ==============================================================================
|
||
include $(MAKE_DIR)/makefile.config
|
||
include $(MAKE_DIR)/makefile.toolchain
|
||
|
||
# ==============================================================================
|
||
# files DIR definition
|
||
# ==============================================================================
|
||
DIRS_LIB_FOLDER += $(DIR_LIB)/rfm_spu
|
||
|
||
LD_FLAGS += -linterrupt
|
||
|
||
#LINK_FILE := $(UCP_INC)/ECS_RFM-spu0-noCache.ld
|
||
LINK_FILE := $(DIR_MAKE)/ld/ecs-rfm-spu0-noCache.ld
|
||
|
||
DIRS_SRC_FOLDER += $(DIR_COMMON)/ecs_dm
|
||
DIRS_SRC_FOLDER += $(DIR_COMMON)/app
|
||
DIRS_SRC_FOLDER += $(DIR_ECS_SPU0)/driver
|
||
DIRS_SRC_FOLDER += $(DIR_ECS_SPU0)/platform
|
||
DIRS_SRC_FOLDER += $(DIR_ECS_SPU0)/top
|
||
|
||
# Allow certain files to be excluded from the build
|
||
#TOP_SRC_FILE := $(DIR_ECS_SPU0)/top/src/phy_init.s.c
|
||
#EXCL_SRCS_FILES := $(TOP_SRC_FILE)
|
||
|
||
# ==============================================================================
|
||
# common: Output Files and Compilation Rules
|
||
# ==============================================================================
|
||
ifeq ($(fronthaul_option),cpri)
|
||
DEFINES += DISTRIBUTED_BS
|
||
else ifeq ($(fronthaul_option),jesd)
|
||
DEFINES += INTEGRATED_BS
|
||
else
|
||
$(info "error fronthaul_option=" $(fronthaul_option))
|
||
endif
|
||
|
||
include $(MAKE_DIR)/makefile.common
|