2023-07-13 11:27:03 +08:00
|
|
|
|
# ==============================================================================
|
|
|
|
|
# pet_rfm1 makefile
|
|
|
|
|
#FileName: makefile.pt_rfm1
|
|
|
|
|
#Author: xianfeng.du
|
|
|
|
|
#Data: 2022-08-10
|
|
|
|
|
#Description: pet_rfm1 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)/PT_RFM-spu1-noCache.ld
|
|
|
|
|
#LINK_FILE := $(UCP_INC)/rfm-spu1-noCache.ld
|
2023-09-11 19:16:30 +08:00
|
|
|
|
LINK_FILE := $(DIR_MAKE)/ld/pet-rfm-spu1-noCache.ld
|
2023-07-13 11:27:03 +08:00
|
|
|
|
|
|
|
|
|
DIRS_SRC_FOLDER += $(DIR_PET_SPU1)/top
|
|
|
|
|
DIRS_SRC_FOLDER += $(DIR_COMMON)/app
|
|
|
|
|
|
|
|
|
|
# Allow certain files to be excluded from the build
|
|
|
|
|
TOP_SRC_FILE := $(DIR_PET_SPU1)/top/src/phy_init.s.c
|
|
|
|
|
#EXCL_SRCS_FILES := $(TOP_SRC_FILE)
|
|
|
|
|
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
# common: Output Files and Compilation Rules
|
|
|
|
|
# ==============================================================================
|
|
|
|
|
include $(MAKE_DIR)/makefile.common
|