summaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-04-17 09:41:20 -0700
committerGitHub <noreply@github.com>2019-04-17 09:41:20 -0700
commit713a38d1a21e11d94e5ce56008f072dc4ea6978c (patch)
tree14f9411a60a92c4687b9297b36e4550463c0d6e9 /ports
parentb5e283af68d33dc4693a8d8681a2c5b7a626919e (diff)
parent8428fa0f6474f0bf9e0854cc6627d7bbb6be5fab (diff)
Merge pull request #1754 from dmazzella/dmazzella-patch-1
add support for USER_C_MODULES
Diffstat (limited to 'ports')
-rwxr-xr-xports/nrf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/nrf/Makefile b/ports/nrf/Makefile
index b32b25217..d947ab34c 100755
--- a/ports/nrf/Makefile
+++ b/ports/nrf/Makefile
@@ -209,6 +209,7 @@ ifeq ($(INTERNAL_LIBM),1)
OBJ += $(addprefix $(BUILD)/, $(SRC_LIBM:.c=.o))
endif
OBJ += $(addprefix $(BUILD)/, $(SRC_S:.s=.o))
+OBJ += $(addprefix $(BUILD)/, $(SRC_MOD:.c=.o))
$(BUILD)/$(FATFS_DIR)/ff.o: COPT += -Os
$(filter $(PY_BUILD)/../extmod/vfs_fat_%.o, $(PY_O)): COPT += -Os