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.

39 lines
992 B

ifneq ($(filter y,$(CFG_SOCT_BOOT_FBL) $(CFG_SOCT_BOOT_SBL) $(CFG_SOCT_BOOT_ONESTAGE)),)
ifeq ($(CFG_SOCT_SUPPORT_AGING),y)
ccflags-y += -I$(SDK_DIR)/source/drivers/include/gpio \
-I$(SDK_DIR)/source/apps/aging/ddr \
-I$(SDK_DIR)/source/apps/aging/emmc \
-I$(SDK_DIR)/source/apps/aging/ufs \
-I$(SDK_DIR)/source/drivers/include/mailbox \
-DSOCT_SUPPORT_AGING
obj-y += aging.o
ccflags-$(CFG_SOCT_SUPPORT_DDR_AGING) += \
-DSOCT_SUPPORT_DDR_AGING \
-DLOG_LEVEL=20
obj-$(CFG_SOCT_SUPPORT_DDR_AGING) += ddr/ddr_aging.o \
ddr/ddr_aging_common.o \
ddr/ddr_algorithm.o \
ddr/ddr_cfg.o \
ddr/ddr_fsm.o \
ddr/ddr_log.o
ccflags-$(CFG_SOCT_SUPPORT_EMMC_AGING) += -DSOCT_SUPPORT_EMMC_AGING
obj-$(CFG_SOCT_SUPPORT_EMMC_AGING) += emmc/emmc_aging_test.o \
emmc/emmc_aging_test_func.o \
emmc/emmc_test.o
ccflags-$(CFG_SOCT_SUPPORT_UFS_AGING) += -DSOCT_SUPPORT_UFS_AGING
obj-$(CFG_SOCT_SUPPORT_UFS_AGING) += ufs/ufs_aging_test.o \
ufs/ufs_aging_test_case.o
endif
endif
obj- += dummy.o