blob: 2d6e4b2f9907119d2319804d4f106cf2af47d8cc [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001LOCAL_DIR := $(GET_LOCAL_DIR)
2MODULE := $(LOCAL_DIR)
3
4ifeq ($(LOW_POWER_VERSION),lpddr4)
5 GLOBAL_DEFINES += LOW_POWER_DDR4
6endif
7
8MODULE_SRCS += \
9 $(LOCAL_DIR)/memory.c \
10 $(LOCAL_DIR)/emi.c \
11 $(LOCAL_DIR)/dramc_pi_basic_api.c \
12 $(LOCAL_DIR)/dramc_pi_calibration_api.c \
13 $(LOCAL_DIR)/dramc_pi_ddr_reserve.c \
14 $(LOCAL_DIR)/dramc_pi_main.c \
15 $(LOCAL_DIR)/Hal_io.c \
16
17MODULE_COMPILEFLAGS += -Wno-unused-but-set-variable
18MODULE_COMPILEFLAGS += -Wno-discarded-qualifiers
19MODULE_COMPILEFLAGS += -Wno-implicit-function-declaration
20MODULE_COMPILEFLAGS += -Wno-unused-variable
21MODULE_COMPILEFLAGS += -Wno-format-extra-args
22
23include make/module.mk