py.mk: Assume we want all C files from ulab
This commit is contained in:
parent
47efd595fc
commit
1cc281b6a4
14
py/py.mk
14
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 += $(wildcard 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user