diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2018-07-03 07:25:54 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2018-07-03 07:25:54 -0700 |
| commit | 8fb976f0bd6919b858814d51a58dd5f8b8f746f9 (patch) | |
| tree | 1d345359f0624139e3efc1293f9f02f45aad4dc0 | |
| parent | dbc977485c5004e7e63d5783ac51421e3ba026aa (diff) | |
Split out assembly source files.
| -rwxr-xr-x | ports/nrf/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ports/nrf/Makefile b/ports/nrf/Makefile index 5f3b9b25c..912b60ecf 100755 --- a/ports/nrf/Makefile +++ b/ports/nrf/Makefile @@ -209,16 +209,19 @@ SRC_SHARED_BINDINGS = \ SRC_SHARED_MODULE_EXPANDED = $(addprefix shared-bindings/, $(SRC_SHARED_BINDINGS)) \ $(addprefix shared-module/, $(SRC_SHARED_MODULE)) +SRC_S = supervisor/cpu.s + FROZEN_MPY_PY_FILES := $(shell find -L $(FROZEN_MPY_DIR) -type f -name '*.py') FROZEN_MPY_MPY_FILES := $(addprefix $(BUILD)/,$(FROZEN_MPY_PY_FILES:.py=.mpy)) OBJ += $(PY_O) $(SUPERVISOR_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o)) -OBJ += $(BUILD)/pins_gen.o supervisor/cpu.o +OBJ += $(BUILD)/pins_gen.o OBJ += $(addprefix $(BUILD)/, $(SRC_HAL:.c=.o)) OBJ += $(addprefix $(BUILD)/, $(SRC_NRFX:.c=.o)) OBJ += $(addprefix $(BUILD)/, $(DRIVERS_SRC_C:.c=.o)) OBJ += $(addprefix $(BUILD)/, $(SRC_COMMON_HAL_EXPANDED:.c=.o)) OBJ += $(addprefix $(BUILD)/, $(SRC_SHARED_MODULE_EXPANDED:.c=.o)) +OBJ += $(addprefix $(BUILD)/, $(SRC_S:.s=.o)) $(BUILD)/$(FATFS_DIR)/ff.o: COPT += -Os $(filter $(PY_BUILD)/../extmod/vfs_fat_%.o, $(PY_O)): COPT += -Os |
