summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAyke van Laethem <aykevanlaethem@gmail.com>2018-07-18 12:37:06 +0200
committerDamien George <damien.p.george@gmail.com>2018-07-19 00:35:24 +1000
commit8df342d330f25e5f6e8d9772ec2ae3a1708ed9fc (patch)
treec25ed2f7e8fe9038665858876a8c30abad9df74e
parent2f0f4fdcd34ecfe16cb9a39bfc070ad8a6329ea0 (diff)
nrf: Include $(SRC_MOD) in the build.
Also, remove the unused $(SRC_LIB).
-rw-r--r--ports/nrf/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/nrf/Makefile b/ports/nrf/Makefile
index 04fb2ff98..2885fe251 100644
--- a/ports/nrf/Makefile
+++ b/ports/nrf/Makefile
@@ -244,6 +244,7 @@ endif
OBJ += $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(SRC_LIB:.c=.o))
+OBJ += $(addprefix $(BUILD)/, $(SRC_MOD:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(SRC_NRFX:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(SRC_NRFX_HAL:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(DRIVERS_SRC_C:.c=.o))
@@ -303,7 +304,7 @@ $(BUILD)/$(OUTPUT_FILENAME).elf: $(OBJ)
$(Q)$(SIZE) $@
# List of sources for qstr extraction
-SRC_QSTR += $(SRC_C) $(SRC_MOD) $(SRC_LIB) $(DRIVERS_SRC_C) $(SRC_BOARD_MODULES)
+SRC_QSTR += $(SRC_C) $(DRIVERS_SRC_C) $(SRC_BOARD_MODULES)
# Append any auto-generated sources that are needed by sources listed in
# SRC_QSTR