8000 nrf: Include $(SRC_MOD) in the build. · andrewleech/micropython@8df342d · GitHub
[go: up one dir, main page]

Skip to content

Commit 8df342d

Browse files
aykevldpgeorge
authored andcommitted
nrf: Include $(SRC_MOD) in the build.
Also, remove the unused $(SRC_LIB).
1 parent 2f0f4fd commit 8df342d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ports/nrf/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ endif
244244

245245
OBJ += $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
246246
OBJ += $(addprefix $(BUILD)/, $(SRC_LIB:.c=.o))
247+
OBJ += $(addprefix $(BUILD)/, $(SRC_MOD:.c=.o))
247248
OBJ += $(addprefix $(BUILD)/, $(SRC_NRFX:.c=.o))
248249
OBJ += $(addprefix $(BUILD)/, $(SRC_NRFX_HAL:.c=.o))
249250
OBJ += $(addprefix $(BUILD)/, $(DRIVERS_SRC_C:.c=.o))
@@ -303,7 +304,7 @@ $(BUILD)/$(OUTPUT_FILENAME).elf: $(OBJ)
303304
$(Q)$(SIZE) $@
304305

305306
# List of sources for qstr extraction
306-
SRC_QSTR += $(SRC_C) $(SRC_MOD) $(SRC_LIB) $(DRIVERS_SRC_C) $(SRC_BOARD_MODULES)
307+
SRC_QSTR += $(SRC_C) $(DRIVERS_SRC_C) $(SRC_BOARD_MODULES)
307308

308309
# Append any auto-generated sources that are needed by sources listed in
309310
# SRC_QSTR

0 commit comments

Comments
 (0)
0