Commit dc6c3639 authored by Lucas Russo's avatar Lucas Russo

src/*/modules/*/afc_diag.mk: re-include conditional AFC compilation

In fact, we need this for non AFC boards,
like ml605 which does not have AFC DIAG modules.
Thus, no addresses for AFC DIAG module exists in the
mem_layout.h file, causing the compilation to fail.
parent 69b9355c
......@@ -2,7 +2,8 @@ sm_io_afc_diag_DIR = $(SRC_DIR)/sm_io/modules/afc_diag
sm_io_afc_diag_OBJS = $(sm_io_afc_diag_DIR)/sm_io_afc_diag_exports.o
ifeq ($(BOARD),afcv3)
# Only compile this for supported AFCv3 boards
ifeq ($(BOARD),$(SUPPORTED_AFCV3_BOARDS))
sm_io_afc_diag_OBJS += $(sm_io_afc_diag_DIR)/sm_io_afc_diag_core.o \
$(sm_io_afc_diag_DIR)/sm_io_afc_diag_exp.o \
$(sm_io_afc_diag_DIR)/sm_io_afc_diag_defaults.o
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment