YB_Platform/public/make/makefile.ecs_rfm_spu0
2023-09-11 19:16:30 +08:00

48 lines
1.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ==============================================================================
# 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