rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 2 | MODULE := $(LOCAL_DIR) |
| 3 | |
| 4 | ifeq ($(LOW_POWER_VERSION),lpddr4) |
| 5 | GLOBAL_DEFINES += LOW_POWER_DDR4 |
| 6 | endif |
| 7 | |
| 8 | MODULE_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 | |
| 17 | MODULE_COMPILEFLAGS += -Wno-unused-but-set-variable |
| 18 | MODULE_COMPILEFLAGS += -Wno-discarded-qualifiers |
| 19 | MODULE_COMPILEFLAGS += -Wno-implicit-function-declaration |
| 20 | MODULE_COMPILEFLAGS += -Wno-unused-variable |
| 21 | MODULE_COMPILEFLAGS += -Wno-format-extra-args |
| 22 | |
| 23 | include make/module.mk |