diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2020-06-01 16:50:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-01 16:50:53 -0700 |
| commit | e889287f6cf0d1f7541297cb9a178eefef5babbe (patch) | |
| tree | 075020578bfe03ba7260d90e14fc4bf928f3ed7e /py | |
| parent | 4146d6f872fb79bc2669bd97fc03c0bd067e9baf (diff) | |
| parent | a170c5e13aeb8972b967d85ceae1cef0303e0078 (diff) | |
Merge pull request #2992 from jepler/update-ulab
Update ulab
Diffstat (limited to 'py')
| -rw-r--r-- | py/py.mk | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -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 |
