summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-06-01 17:01:16 -0700
committerScott Shawcroft <scott@tannewt.org>2020-06-01 17:01:16 -0700
commit959f7297dae60b1f39e50727346b037670822f39 (patch)
tree4674f045e53016fc36f6f140de96e34b657d1889 /py
parent323cca8910012e6cbd38a353961e4766fb1c9d1e (diff)
parente889287f6cf0d1f7541297cb9a178eefef5babbe (diff)
Merge remote-tracking branch 'adafruit/master' into wdt-nrf
Diffstat (limited to 'py')
-rw-r--r--py/py.mk14
1 files changed, 1 insertions, 13 deletions
diff --git a/py/py.mk b/py/py.mk
index a5c8a7dc6..3cb505920 100644
--- a/py/py.mk
+++ b/py/py.mk
@@ -106,19 +106,7 @@ $(BUILD)/extmod/modbtree.o: CFLAGS += $(BTREE_DEFS)
endif
ifeq ($(CIRCUITPY_ULAB),1)
-SRC_MOD += $(addprefix extmod/ulab/code/, \
-compare.c \
-create.c \
-extras.c \
-fft.c \
-filter.c \
-linalg.c \
-ndarray.c \
-numerical.c \
-poly.c \
-ulab.c \
-vectorise.c \
- )
+SRC_MOD += $(patsubst $(TOP)/%,%,$(wildcard $(TOP)/extmod/ulab/code/*.c))
CFLAGS_MOD += -DCIRCUITPY_ULAB=1 -DMODULE_ULAB_ENABLED=1
$(BUILD)/extmod/ulab/code/%.o: CFLAGS += -Wno-float-equal -Wno-sign-compare -DCIRCUITPY
endif