| LOCAL_DIR := $(GET_LOCAL_DIR) |
| MODULE := $(LOCAL_DIR) |
| |
| ifeq ($(LOW_POWER_VERSION),lpddr4) |
| GLOBAL_DEFINES += LOW_POWER_DDR4 |
| endif |
| |
| MODULE_SRCS += \ |
| $(LOCAL_DIR)/memory.c \ |
| $(LOCAL_DIR)/emi.c \ |
| $(LOCAL_DIR)/dramc_pi_basic_api.c \ |
| $(LOCAL_DIR)/dramc_pi_calibration_api.c \ |
| $(LOCAL_DIR)/dramc_pi_ddr_reserve.c \ |
| $(LOCAL_DIR)/dramc_pi_main.c \ |
| $(LOCAL_DIR)/Hal_io.c \ |
| |
| MODULE_COMPILEFLAGS += -Wno-unused-but-set-variable |
| MODULE_COMPILEFLAGS += -Wno-discarded-qualifiers |
| MODULE_COMPILEFLAGS += -Wno-implicit-function-declaration |
| MODULE_COMPILEFLAGS += -Wno-unused-variable |
| MODULE_COMPILEFLAGS += -Wno-format-extra-args |
| |
| include make/module.mk |